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

:root {
  --ocean: #006d77;
  --ocean-light: #0a9396;
  --sky: #48cae4;
  --sky-light: #90e0ef;
  --sunset: #f4845f;
  --sunset-hover: #e06840;
  --sand: #fef6ec;
  --sand-warm: #fff1db;
  --palm: #2a9d8f;
  --white: #ffffff;
  --gray-100: #f7f8fa;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,109,119,.08);
  --shadow-lg: 0 12px 28px -6px rgba(0,109,119,.14), 0 4px 12px -4px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--ocean-light); text-decoration: none; }
a:hover { color: var(--ocean); text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ===== Layout ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.site-header {
  background: linear-gradient(90deg, var(--ocean) 0%, var(--ocean-light) 100%);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; }
.logo img {
  height: 36px; width: auto;
  background: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
}

nav a {
  color: rgba(255,255,255,.75); margin-left: 28px; font-size: .9rem;
  font-weight: 500; transition: color .2s;
}
nav a:hover, nav a.active { color: var(--white); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(to bottom, rgba(0,109,119,.5) 0%, rgba(10,147,150,.35) 40%, rgba(254,246,236,.85) 85%, rgba(254,246,236,1) 100%),
              url('/img/hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 160px;
  text-align: center;
}
.hero h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.12;
  max-width: 740px; margin: 0 auto 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero p {
  font-size: 1.2rem; color: rgba(255,255,255,.9);
  max-width: 580px; margin: 0 auto 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.btn {
  display: inline-block; padding: 14px 38px;
  background: var(--sunset); color: var(--white);
  border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(244,132,95,.4);
  letter-spacing: .02em;
}
.btn:hover {
  background: var(--sunset-hover); text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,132,95,.5);
}
.btn--ocean { background: var(--ocean-light); box-shadow: 0 4px 16px rgba(10,147,150,.35); }
.btn--ocean:hover { background: var(--ocean); box-shadow: 0 6px 20px rgba(10,147,150,.45); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--sand {
  background: var(--sand);
}
.section--ocean {
  background: var(--white);
  color: var(--gray-800);
}
.section-title {
  font-size: 2.1rem; font-weight: 700; text-align: center;
  margin-bottom: 12px; color: var(--ocean);
}
.section--ocean .section-title { color: var(--ocean); }
.section-sub {
  text-align: center; color: var(--gray-500);
  max-width: 600px; margin: 0 auto 48px; font-size: 1.05rem;
}
.section--ocean .section-sub { color: var(--gray-500); }

/* ===== Services Hub ===== */
.services-hub {
  background-size: cover; background-position: center;
  position: relative;
}
.services-hub-overlay {
  background: linear-gradient(to bottom, rgba(254,246,236,1) 0%, rgba(254,246,236,.5) 20%, rgba(254,246,236,.5) 50%, rgba(254,246,236,.85) 80%, rgba(254,246,236,1) 100%);
  padding: 180px 0 120px;
}
.services-hub .section-title { color: var(--ocean); }
.services-hub .section-sub { color: var(--gray-500); }

/* Arc + items */
.hub-arc {
  position: relative;
  max-width: 800px; margin: 0 auto;
  padding: 20px 0 0;
}
.hub-arc-line {
  position: absolute;
  top: 60px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 340px;
  border: 2px solid rgba(0,109,119,.12);
  border-bottom: none;
  border-radius: 300px 300px 0 0;
}
.hub-items {
  display: flex; justify-content: space-between;
  position: relative; z-index: 2;
  padding-top: 16px;
}
.hub-item {
  text-align: center; width: 170px;
}
.hub-item:nth-child(1) { margin-top: 120px; }
.hub-item:nth-child(2) { margin-top: 0; }
.hub-item:nth-child(3) { margin-top: 0; }
.hub-item:nth-child(4) { margin-top: 120px; }
.hub-item h3 { color: var(--gray-800); font-size: 1rem; margin: 14px 0 6px; font-weight: 700; }
.hub-item p { color: var(--gray-600); font-size: .84rem; line-height: 1.5; }

.hub-circle {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transition: transform .3s;
}
.hub-circle:hover { transform: scale(1.1); }
.hub-circle svg { width: 26px; height: 26px; }
.hub-circle--sky    { background: linear-gradient(135deg, #48cae4, #0096c7); }
.hub-circle--palm   { background: linear-gradient(135deg, #2a9d8f, #1a7a6e); }
.hub-circle--sunset { background: linear-gradient(135deg, #f4845f, #e05535); }
.hub-circle--ocean  { background: linear-gradient(135deg, #0a9396, #005f73); }

/* ===== Industries Accordion ===== */
.ind-accordion {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 120px;
}
.ind-accordion::before {
  content: '';
  position: absolute;
  top: -120px; left: 0; right: 0;
  height: 120px;
  background: var(--sand);
  z-index: 5;
  pointer-events: none;
}
.ind-accordion-header {
  position: absolute;
  top: 24px; left: 0; right: 0;
  text-align: center; z-index: 10;
  pointer-events: none;
}
.ind-accordion-header h2 {
  font-size: 2rem; font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.ind-accordion-header p {
  color: rgba(255,255,255,.6);
  font-size: .9rem; margin-top: 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.ind-accordion-panels {
  display: flex;
  height: 420px;
  overflow: hidden;
}
.ind-panel {
  position: relative;
  flex: 1;
  background-size: cover; background-position: center;
  cursor: pointer;
  transition: flex .5s ease;
  overflow: hidden;
}
.ind-panel.active {
  flex: 4;
}
.ind-panel-overlay {
  position: absolute; inset: 0;
  background: rgba(0,50,56,.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  transition: background .4s;
}
.ind-panel.active .ind-panel-overlay {
  background: linear-gradient(to top, rgba(0,40,46,.85) 0%, rgba(0,40,46,.2) 60%, transparent 100%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.ind-panel-overlay h3 {
  color: var(--white); font-size: 1.2rem;
  margin-bottom: 6px; white-space: nowrap;
  transition: opacity .3s;
}
.ind-panel-overlay p {
  color: rgba(255,255,255,.85); font-size: .9rem;
  line-height: 1.5; max-width: 400px;
  opacity: 0; max-height: 0;
  transition: opacity .4s, max-height .4s;
  overflow: hidden;
}
.ind-panel.active .ind-panel-overlay p {
  opacity: 1; max-height: 100px;
}

/* ===== Lead Gen ===== */
.leadgen-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.leadgen-content { display: flex; flex-direction: column; gap: 24px; }
.leadgen-item {
  padding: 20px 24px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--ocean-light);
  transition: box-shadow .25s, transform .25s;
}
.leadgen-item:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.leadgen-item:nth-child(2) { border-left-color: var(--palm); }
.leadgen-item:nth-child(3) { border-left-color: var(--sunset); }
.leadgen-item:nth-child(4) { border-left-color: var(--sky); }
.leadgen-item h3 { font-size: 1.05rem; color: var(--ocean); margin-bottom: 6px; }
.leadgen-item p { font-size: .93rem; color: var(--gray-600); }
.leadgen-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.leadgen-img img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 340px; object-fit: cover; display: block; }
.about-content {
  color: var(--gray-600); font-size: 1.05rem;
}
.about-content p { margin-bottom: 16px; }

/* ===== Contact Form ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; color: var(--ocean); }
.contact-info p { color: var(--gray-600); margin-bottom: 12px; font-size: .95rem; }
.contact-info a { color: var(--ocean-light); }
.contact-info a:hover { color: var(--ocean); }

.contact-form {
  background: var(--white); padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--gray-700); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--ocean-light);
  box-shadow: 0 0 0 3px rgba(10,147,150,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Checkbox / Opt-in */
.checkbox-group {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 20px;
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ocean-light);
  flex-shrink: 0;
}
.checkbox-group label { font-size: .85rem; color: var(--gray-600); font-weight: 400; }

/* ===== Footer ===== */
.site-footer {
  background: #111111; color: rgba(255,255,255,.5);
  padding: 48px 0 32px; font-size: .88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-grid h4 { color: var(--sand-warm); font-size: .95rem; margin-bottom: 14px; }
.footer-grid a { color: rgba(255,255,255,.5); display: block; margin-bottom: 8px; font-size: .88rem; }
.footer-grid a:hover { color: var(--sunset); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; text-align: center;
}

/* ===== Legal Pages ===== */
.legal-hero {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
  color: var(--white);
  padding: 56px 0; text-align: center;
}
.legal-hero h1 { font-size: 2.2rem; font-weight: 700; }
.legal-hero p { color: rgba(255,255,255,.7); margin-top: 8px; }

.legal-content {
  max-width: 780px; margin: 0 auto;
  padding: 48px 24px 80px;
  color: var(--gray-700); font-size: .97rem; line-height: 1.75;
}
.legal-content h2 {
  font-size: 1.3rem; margin: 36px 0 12px; color: var(--ocean);
}
.legal-content h3 {
  font-size: 1.1rem; margin: 24px 0 8px; color: var(--ocean);
}
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 24px; }
.legal-content li { margin-bottom: 6px; }
.legal-content .highlight {
  background: var(--sand); border-left: 4px solid var(--ocean-light);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 72px 0 90px; }
  .hero h1 { font-size: 2rem; }
  .hero::after { height: 40px; }
  .hub-arc-line { display: none; }
  .hub-items { flex-wrap: wrap; justify-content: center; gap: 32px; }
  .hub-item { margin-top: 0 !important; width: 140px; }
  .ind-accordion-panels { flex-direction: column; height: auto; }
  .ind-panel { min-height: 100px; }
  .ind-panel.active { min-height: 200px; flex: none; }
  .leadgen-grid { grid-template-columns: 1fr; }
  .leadgen-img img { height: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  nav { display: none; }
  .section { padding: 56px 0; }

}
