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

:root {
  --blue: #1976d2;
  --blue-dark: #0d47a1;
  --blue-deep: #0a3576;
  --blue-light: #e3f2fd;
  --blue-soft: #f5fbff;
  --green: #66bb6a;
  --green-dark: #43a047;
  --yellow: #ffc107;
  --yellow-soft: #fff8e1;
  --ink: #0e1f33;
  --ink-soft: #3c4a5b;
  --gray: #6c7785;
  --gray-light: #d8dde4;
  --gray-50: #f4f7fa;
  --white: #ffffff;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(13, 71, 161, 0.05), 0 4px 14px rgba(13, 71, 161, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 71, 161, 0.08), 0 12px 32px rgba(13, 71, 161, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Pacifico', cursive;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 5; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(25, 118, 210, 0.28);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ================ ANNOUNCEMENT BAR ================ */
.announcement-bar {
  background: var(--blue-deep);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
}
.announcement-bar strong { color: var(--yellow); font-weight: 800; letter-spacing: 0.02em; }
.announcement-bar a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  margin-left: 4px;
}
.announcement-bar a:hover { color: var(--white); }

/* ================ NAV ================ */
.nav {
  position: fixed;
  top: var(--bar-h, 40px);
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: top 0.25s, background 0.3s, padding 0.3s, box-shadow 0.3s;
  padding: 4px 0;
}
.nav.scrolled {
  top: 0;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 70px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(25, 118, 210, 0.3);
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ================ HERO ================ */
.hero {
  position: relative;
  padding: 170px 24px 96px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(102, 187, 106, 0.18), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(25, 118, 210, 0.18), transparent 55%),
    linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 100%);
  z-index: -1;
}
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bubbles span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(25, 118, 210, 0.18));
  opacity: 0.5;
  animation: rise 14s linear infinite;
}
.hero-bubbles span:nth-child(1) { left: 8%;  width: 18px; height: 18px; animation-duration: 16s; animation-delay: 0s; }
.hero-bubbles span:nth-child(2) { left: 22%; width: 28px; height: 28px; animation-duration: 13s; animation-delay: 4s; }
.hero-bubbles span:nth-child(3) { left: 38%; width: 16px; height: 16px; animation-duration: 18s; animation-delay: 7s; }
.hero-bubbles span:nth-child(4) { left: 55%; width: 22px; height: 22px; animation-duration: 15s; animation-delay: 1s; }
.hero-bubbles span:nth-child(5) { left: 72%; width: 30px; height: 30px; animation-duration: 14s; animation-delay: 9s; }
.hero-bubbles span:nth-child(6) { left: 86%; width: 20px; height: 20px; animation-duration: 17s; animation-delay: 3s; }
.hero-bubbles span:nth-child(7) { left: 95%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: 6s; }
@keyframes rise {
  0%   { transform: translateY(120vh); opacity: 0; }
  10%  { opacity: 0.55; }
  90%  { opacity: 0.55; }
  100% { transform: translateY(-20vh); opacity: 0; }
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.hero-tag {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 br + * { display: none; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  padding: 18px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.trust-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
}
.trust-label {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--gray-light);
}

/* ================ TRUST STRIP ================ */
.trust-strip {
  background: var(--blue);
  padding: 22px 0;
  color: var(--white);
}
.trust-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 36px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.trust-pill svg { color: var(--yellow); flex-shrink: 0; }

/* ================ SECTION HEADER ================ */
.section-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}
.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ================ SERVICES ================ */
.services {
  padding: 96px 0;
  background: var(--white);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card-feature {
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 100%);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  transition: 0.2s;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }
.service-card-feature .service-icon { background: var(--blue); color: var(--white); }

.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}
.service-cta {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}
.service-cta:hover { color: var(--blue-dark); }

/* ================ AREAS ================ */
.areas {
  padding: 96px 0;
  background: var(--blue-soft);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.area-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 2px solid var(--gray-light);
}
.area-tile-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.area-tile-primary h3, .area-tile-primary li { color: var(--white); }
.area-tile h3 { font-size: 1.18rem; margin-bottom: 18px; }
.area-tile ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.area-tile li {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.area-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
}
.area-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================ WHY ================ */
.why {
  padding: 96px 0;
  background: var(--white);
}
.why-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-copy h2 { font-size: clamp(1.95rem, 4vw, 2.8rem); margin: 14px 0 20px; }
.why-lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 18px; }
.why-points {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-point strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--ink);
}
.why-point p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.portrait-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--blue-light);
}
.portrait-img {
  height: 380px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  position: relative;
}
.portrait-img::after {
  content: "Photo of Cameron";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-style: italic;
}
.portrait-caption {
  padding: 20px 24px;
}
.portrait-caption strong {
  display: block;
  font-size: 1.18rem;
  color: var(--ink);
}
.portrait-caption span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ================ CTA BANNER ================ */
.cta-banner {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ================ CONTACT ================ */
.contact {
  padding: 96px 0;
  background: var(--blue-soft);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.95rem, 4vw, 2.6rem);
  margin: 14px 0 20px;
}
.contact-info > p {
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.contact-items {
  display: grid;
  gap: 22px;
}
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}
.contact-item a:hover { color: var(--blue); }
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form textarea { resize: vertical; }
.form-note { text-align: center; margin-top: 14px; font-size: 0.85rem; color: var(--gray); }
.form-note a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ================ FOOTER ================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo-stack {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.logo-img-footer {
  height: 110px;
  filter: drop-shadow(0 0 14px rgba(102, 187, 106, 0.18));
}
.footer-tagline {
  margin-top: 14px;
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--green);
}
.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline;
}
.footer-links summary { list-style: none; margin-bottom: 14px; }
.footer-links summary::-webkit-details-marker { display: none; }
.footer-links summary::marker { content: ""; }
.footer-links a {
  display: block;
  font-size: 0.92rem;
  padding: 4px 0;
  color: rgba(255,255,255,0.75);
}
.footer-links a:hover { color: var(--green); }

@media (min-width: 769px) {
  .footer-links > *:not(summary) { display: block !important; }
  .footer-links summary { cursor: default; }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.footer-demo { margin-top: 6px; font-size: 0.75rem; }
.footer-demo a { color: var(--green); text-decoration: underline; font-weight: 700; }

/* ================ WHATSAPP FAB ================ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ================ RESPONSIVE ================ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1100;
    padding: 24px;
    margin: 0;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.4rem; color: var(--ink); font-weight: 700; }
  .nav-links .nav-cta { margin-top: 12px; font-size: 1.1rem !important; }
  .nav-toggle { display: flex; z-index: 1200; position: relative; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }

  .hero { padding: 130px 24px 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .service-grid { grid-template-columns: 1fr; }
  .area-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .area-tile ul { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-brand {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 8px;
  }
  .footer-logo-stack { align-items: center; }
  .footer-links {
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding: 4px 0;
  }
  .footer-links summary {
    margin: 0;
    padding: 14px 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-links summary h4 { margin-bottom: 0; }
  .footer-links summary::after {
    content: "+";
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
  }
  .footer-links[open] summary::after { content: "\2013"; }
  .footer-links a { padding: 6px 4px; }
  .footer-links a:last-child { padding-bottom: 12px; }

  .services, .areas, .why, .contact { padding: 64px 0; }
  .section-header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-trust {
    flex-direction: column;
    gap: 0;
    padding: 4px 28px;
    border-radius: var(--radius-lg);
    width: auto;
    max-width: 320px;
  }
  .trust-item {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 0;
    width: 100%;
  }
  .trust-num { font-size: 1.4rem; line-height: 1; min-width: 68px; text-align: left; }
  .trust-label { font-size: 0.7rem; margin-top: 0; text-align: left; }
  .trust-divider {
    display: block;
    width: 70%;
    height: 1px;
    background: var(--gray-light);
    margin: 0 auto;
  }
  .logo-img { height: 56px; }
  .logo-img-footer { height: 100px; }
}
