:root {
  --ink: #0b1f3a;
  --navy: #0b1f3a;
  --navy-2: #132f53;
  --muted: #5f6f7d;
  --teal: #0f766e;
  --teal-2: #14a098;
  --soft-gray: #f4f7f9;
  --gray-line: rgba(11, 31, 58, 0.12);
  --gold: #c9a45c;
  --gold-soft: #f3e7c8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft-gray);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  background: rgba(244, 247, 249, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--gray-line);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 236px;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--navy);
  white-space: nowrap;
}

.button {
  padding: 0 22px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.24);
}

.button.secondary {
  border-color: var(--gray-line);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
}

.section-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 66px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 790px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.85rem, 6.4vw, 5.4rem);
}

h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  border: 1px solid var(--gray-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.5) 0%, rgba(11, 31, 58, 0.02) 30%, rgba(11, 31, 58, 0.02) 55%, rgba(11, 31, 58, 0.45) 100%),
    radial-gradient(circle at 82% 16%, rgba(201, 164, 92, 0.35), transparent 30%),
    url('../images/agent-photo.jpg');
  background-size: cover;
  background-position: center 15%;
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.panel-topline {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 164, 92, 0.18);
}

.agent-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 14px;
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(11, 31, 58, 0.45);
  backdrop-filter: blur(4px);
  width: fit-content;
}

.agent-tag strong {
  color: var(--white);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem;
}

.agent-tag span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.appointment-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
  background: rgba(11, 31, 58, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.card-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.appointment-card h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
}

.appointment-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
}

.appointment-card li::before {
  content: "+";
  margin-right: 8px;
  color: var(--gold);
  font-weight: 900;
}

.appointment-card a {
  color: var(--gold);
  font-weight: 900;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--gray-line);
  background: var(--white);
}

.stats-band div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 94px;
  border-right: 1px solid var(--gray-line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  color: var(--teal);
  font-size: 1.8rem;
}

.stats-band span {
  color: var(--muted);
  font-weight: 800;
}

.services-section,
.visit-section,
.about-section {
  padding: clamp(70px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 310px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.06);
}

.service-card span {
  color: var(--gold);
  font-weight: 900;
}

.service-card h3 {
  margin-top: 52px;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 22px 48px rgba(11, 31, 58, 0.12);
}

.hero-panel {
  animation: float-panel 6s ease-in-out infinite;
}

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

.button,
.header-cta {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:active,
.header-cta:active {
  transform: translateY(0) scale(0.97);
}

.whatsapp {
  animation: pulse-whatsapp 2.6s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 14px 34px rgba(11, 31, 58, 0.22), 0 0 0 0 rgba(15, 118, 110, 0.4); }
  50% { box-shadow: 0 14px 34px rgba(11, 31, 58, 0.22), 0 0 0 10px rgba(15, 118, 110, 0); }
}

.timeline div,
.faq-item,
.why-grid div {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.timeline div:hover {
  transform: translateX(6px);
}

.faq-item:hover,
.why-grid div:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .whatsapp {
    animation: none;
  }
  .reveal {
    transition: opacity 300ms ease;
  }
}

.logo-band {
  padding: clamp(50px, 9vw, 90px) 0;
  background: var(--white);
  border-block: 1px solid var(--gray-line);
}

.logo-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.logo-band-image {
  width: min(340px, 70%);
  height: auto;
}

.logo-band-inner p {
  margin: 0;
  max-width: 720px;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
}

.service-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-list li {
  position: relative;
  padding-left: 20px;
}

.service-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.why-section {
  padding: clamp(50px, 8vw, 90px) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.why-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--white);
  font-weight: 700;
  color: var(--navy);
}

.why-grid span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.faq-section {
  padding: clamp(50px, 8vw, 90px) 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 18px 22px;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.visit-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.visit-copy p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 22px 24px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.08);
}

.timeline strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.timeline p {
  margin: 6px 0 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.about-card,
.quote-card {
  border-radius: 8px;
  padding: clamp(26px, 5vw, 46px);
}

.about-card {
  background: var(--white);
}

.about-card p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.quote-card {
  display: grid;
  align-content: end;
  min-height: 360px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #0e4953);
}

.quote-card p {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.16;
}

.quote-card span {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.contact-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--navy);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-copy .eyebrow {
  color: var(--gold);
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  outline: 0;
  background: var(--soft-gray);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}

.checkbox-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
}

.checkbox-row input {
  width: auto;
  margin-top: 5px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: #07172b;
  color: rgba(255, 255, 255, 0.78);
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 46px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.22);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-top: 4px;
  }

  .hero,
  .visit-section,
  .about-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-panel {
    min-height: 460px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    width: 100%;
  }

  .nav {
    gap: 16px;
    justify-content: flex-start;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.42rem, 14vw, 3.9rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--gray-line);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 250px;
  }

  .service-card h3 {
    margin-top: 34px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
