/* ============================================
   Creative Solutions Painting - Main Stylesheet
   Ocean/Coastal Theme | OBX, NC
   ============================================ */

/* --- CSS Variables --- */
:root {
  --deep-ocean: #1a5c7a;
  --ocean-blue: #2b8fad;
  --teal: #3db8a9;
  --seafoam: #7dd8c7;
  --sand-light: #f5efe6;
  --sand: #e8dcc8;
  --sand-dark: #c4b59a;
  --white: #ffffff;
  --off-white: #fafaf8;
  --charcoal: #2c3e50;
  --dark-text: #1a1a2e;
  --light-text: #6b7b8d;
  --coral: #e07a5f;
  --sunset: #f2a65a;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(26, 92, 122, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 92, 122, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 92, 122, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--deep-ocean); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--light-text); font-size: 1.05rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocean-blue);
  margin-bottom: 12px;
}

.section-label .starfish { width: 18px; height: 18px; fill: var(--coral); }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 92, 122, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--deep-ocean);
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean-blue);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover { color: var(--ocean-blue); }

.nav-cta {
  background: var(--deep-ocean) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--ocean-blue) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43, 143, 173, 0.3);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(165deg, var(--sand-light) 0%, var(--white) 40%, #e8f4f8 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-decoration {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 200%;
  height: 120px;
  animation: wave 8s linear infinite;
}

.hero-wave path { fill: var(--off-white); }

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--ocean-blue);
}

.hero-circle-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-circle-2 { width: 300px; height: 300px; bottom: 100px; left: -100px; }

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  margin-bottom: 20px;
  color: var(--deep-ocean);
}

.hero-text h1 span {
  display: block;
  background: linear-gradient(135deg, var(--ocean-blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(26, 92, 122, 0.06);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--deep-ocean);
}

.hero-badge svg { width: 14px; height: 14px; fill: var(--coral); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ocean-blue), var(--deep-ocean));
  width: 100%;
  max-width: 520px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  bottom: -20px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-floating-card.card-2 {
  top: -15px;
  right: -20px;
  animation-delay: 2s;
}

.hero-floating-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 143, 173, 0.1);
}

.hero-floating-card .card-icon svg { width: 20px; height: 20px; fill: var(--ocean-blue); }

.hero-floating-card .card-text { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); }
.hero-floating-card .card-sub { font-size: 0.72rem; color: var(--light-text); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--deep-ocean);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ocean-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 143, 173, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-ocean);
  border: 2px solid rgba(26, 92, 122, 0.2);
}

.btn-secondary:hover {
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
  transform: translateY(-2px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-coral:hover {
  background: #c96a51;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.3);
}

.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Section Spacing --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header p {
  margin-top: 16px;
}

/* --- Services Preview (Home) --- */
.services-preview {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 143, 173, 0.1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(43, 143, 173, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg { width: 28px; height: 28px; fill: var(--ocean-blue); }

.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: 0.92rem; line-height: 1.6; }

/* --- Before/After Slider --- */
.before-after-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--sand-light) 100%);
}

.ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  cursor: col-resize;
  user-select: none;
  background: var(--sand);
}

.ba-slider .ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider .ba-before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.ba-slider .ba-after { z-index: 0; }

.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-slider .ba-handle::before {
  content: '⟨ ⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--deep-ocean);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  letter-spacing: 4px;
}

.ba-slider .ba-label {
  position: absolute;
  bottom: 16px;
  z-index: 4;
  padding: 6px 16px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  pointer-events: none;
}

.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

/* --- Instagram Section --- */
.instagram-section {
  background: var(--white);
  text-align: center;
}

.instagram-embed-wrapper {
  max-width: 540px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--deep-ocean), var(--ocean-blue));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.1rem; }

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--deep-ocean);
}

.cta-banner .btn-primary:hover {
  background: var(--sand-light);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer-brand .footer-logo { height: 40px; margin-bottom: 8px; filter: brightness(0) invert(1); }

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer ul li a:hover { color: var(--seafoam); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--ocean-blue); }
.footer-social a svg { width: 16px; height: 16px; fill: var(--white); }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(165deg, var(--sand-light) 0%, #e8f4f8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--off-white));
}

.page-header h1 { margin-bottom: 12px; }
.page-header p { max-width: 540px; margin: 0 auto; }

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 0.9rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(43, 143, 173, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card .value-icon svg { width: 30px; height: 30px; fill: var(--ocean-blue); }

.service-area-map {
  margin-top: 60px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}

.area-tag {
  padding: 8px 20px;
  background: rgba(43, 143, 173, 0.06);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--deep-ocean);
  border: 1px solid rgba(43, 143, 173, 0.12);
}

/* --- Services Page --- */
.services-detailed .service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.services-detailed .service-detail-card:hover { box-shadow: var(--shadow-md); }

.services-detailed .service-detail-card:nth-child(even) { direction: rtl; }
.services-detailed .service-detail-card:nth-child(even) > * { direction: ltr; }

.service-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sand-light), #e8f4f8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-image .placeholder-icon {
  width: 80px;
  height: 80px;
  fill: rgba(43, 143, 173, 0.2);
}

.service-detail-content h3 { font-size: 1.5rem; margin-bottom: 16px; }
.service-detail-content p { margin-bottom: 16px; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.service-feature svg { width: 18px; height: 18px; fill: var(--teal); flex-shrink: 0; }

/* --- Gallery Page --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(135deg, var(--sand-light), #e8f4f8);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 92, 122, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--light-text);
  font-size: 0.85rem;
}

.gallery-placeholder svg { width: 40px; height: 40px; fill: rgba(43,143,173,0.15); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(43, 143, 173, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 22px; height: 22px; fill: var(--ocean-blue); }

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--light-text);
}

.contact-item a:hover { color: var(--ocean-blue); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 { margin-bottom: 24px; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(26, 92, 122, 0.15);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(43, 143, 173, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Starfish SVG --- */
.starfish-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hero-floating-card { display: none; }
  .about-story { grid-template-columns: 1fr; }
  .services-detailed .service-detail-card { grid-template-columns: 1fr; padding: 28px; }
  .services-detailed .service-detail-card:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.05); width: 100%; text-align: center; }
  .nav-links a:last-child { border: none; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .ba-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
