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

/* ── Design tokens ── */
:root {
  --teal:       #086171;
  --teal-dark:  #065260;
  --teal-light: #EBF4F5;
  --teal-mid:   #d0e9ec;
  --sage:       #7f917e;
  --ink:        #111827;
  --muted:      #6B7280;
  --line:       #E5E7EB;
  --white:      #ffffff;
  --radius:     14px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: 0;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ── Navbar ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

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

.btn-white:hover {
  background: var(--teal-light);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  color: var(--white);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-top: 1px solid var(--line);
  animation: slideDown 0.2s ease;
}

.mobile-menu.open {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.mobile-menu a:last-child {
  border: none;
}

.mobile-menu .btn {
  border-bottom: none;
  padding: 12px 22px;
}

/* ── Hero animation ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-inner > div:first-child {
  animation: fadeUp 0.7s 0.1s both ease;
}

.hero-image-wrap {
  animation: fadeUp 0.7s 0.35s both ease;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--white) 60%);
  padding: 80px 0 96px;
}

.hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 97, 113, 0.08) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 16px 6px 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-trust-badge .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.hero-image-wrap {
  position: relative;
}

.hero-logo-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(8, 97, 113, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.hero-logo-card img {
  height: 80px;
  width: auto;
}

.hero-logo-card p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-logo-card .tag {
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-deco {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 12px solid var(--teal-light);
}

.hero-deco-1 {
  top: -24px;
  right: -24px;
}

.hero-deco-2 {
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  border-width: 8px;
}

/* ── Section base ── */
.section {
  padding: 88px 0;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink);
}

.section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

/* ── About ── */
.about {
  background: linear-gradient(180deg, var(--teal-light) 0%, var(--white) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
}

.about-grid .btn {
  margin-top: 28px;
}

.about-logo-wrap {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(8, 97, 113, 0.10);
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-wrap img {
  max-height: 100px;
  width: auto;
}

.corlia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--teal-mid);
}

.corlia-photo {
  background: var(--teal-light);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(8, 97, 113, 0.12);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  overflow: hidden;
}

.corlia-photo svg {
  opacity: 0.4;
}

.corlia-photo img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.corlia-grid p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 14px;
}

.corlia-grid .btn {
  margin-top: 28px;
}

/* ── Services ── */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(8, 97, 113, 0.10);
  transform: translateY(-3px);
  border-color: var(--teal-mid);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.service-icon svg {
  stroke: var(--teal);
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.service-card p {
  flex: 1;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s;
}

.service-card a:hover {
  gap: 8px;
}

/* ── CTA Band ── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 72px 24px;
  text-align: center;
  color: var(--white);
}

.cta-band img {
  width: 150px;
  height: auto;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-band::after {
  content: '';
  position: absolute;
  left: -40px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-logo {
  margin: 0 auto 24px;
  height: 52px;
  width: auto;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-band p {
  margin-top: 14px;
  font-size: 1.05rem;
  opacity: 0.85;
  line-height: 1.7;
}

.cta-band .btn {
  margin-top: 32px;
}

/* ── Image placeholder ── */
.img-placeholder {
  background: var(--teal-light);
  border-radius: 20px;
  border: 2px dashed var(--teal-mid);
  box-shadow: 0 12px 40px rgba(8, 97, 113, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  overflow: hidden;
}

.img-placeholder img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder svg {
  opacity: 0.45;
}

.img-placeholder span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Contact ── */
.contact {
  background: var(--teal-light);
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

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

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

label .opt {
  font-weight: 400;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 97, 113, 0.12);
}

textarea {
  resize: vertical;
}

.form-submit {
  margin-top: 4px;
}

#formStatus {
  margin-top: 12px;
  font-size: 0.9rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--teal-mid);
}

.contact-info-item p.label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 8px;
}

.contact-info-item a:not(.btn),
.contact-info-item p:not(.label) {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.6;
}

.contact-info-item a:not(.btn) {
  transition: color 0.2s;
}

.contact-info-item a:not(.btn):hover {
  color: var(--teal);
}

.contact-info-item .btn {
  margin-top: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: #9CA3AF;
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 100px;
  width: auto;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer li,
.footer a {
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer a {
  color: #9CA3AF;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1140px;
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #6B7280;
}

.footer-bottom a {
  color: #6B7280;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ── Scroll animations ── */
.section-tag,
.section-title,
.section-lead,
.about-grid,
.corlia-grid,
.services-grid,
.cta-inner,
.form-grid,
.contact-info {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-tag.is-visible,
.section-title.is-visible,
.section-lead.is-visible,
.about-grid.is-visible,
.corlia-grid.is-visible,
.services-grid.is-visible,
.cta-inner.is-visible,
.form-grid.is-visible,
.contact-info.is-visible {
  opacity: 1;
  transform: none;
}

.section-title { transition-delay: 0.08s; }
.section-lead  { transition-delay: 0.16s; }

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrap {
    order: -1;
  }

  .about-grid,
  .corlia-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .corlia-photo {
    order: -1;
  }

  .corlia-grid {
    margin-top: 56px;
    padding-top: 56px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 600px) {
  .hero {
    padding: 48px 0 56px;
  }

  .section {
    padding: 48px 0;
  }

  .corlia-grid {
    margin-top: 40px;
    padding-top: 40px;
  }

  .cta-band {
    padding: 52px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
