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

:root {
  --blue-deep:   #0f2d4a;
  --blue-dark:   #1a3a5c;
  --blue-mid:    #2a6496;
  --blue-accent: #4a90d9;
  --blue-light:  #c7dff2;
  --blue-pale:   #e8f3fb;
  --blue-ghost:  #f0f6fb;

  --white:       #ffffff;
  --text:        #1e2d3d;
  --text-mid:    #4a5568;
  --text-muted:  #718096;
  --border:      #d6e8f5;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(26,58,92,.08);
  --shadow-md:   0 8px 32px rgba(26,58,92,.12);
  --shadow-lg:   0 20px 60px rgba(26,58,92,.16);

  --transition:  .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── Typography ── */
.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: .75rem;
}
.label--light { color: rgba(255,255,255,.75); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin-bottom: 3rem;
}

.section-head {
  text-align: center;
  margin-bottom: 1rem;
}
.section-head .section-sub { margin-inline: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-mid));
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(74,144,217,.35);
  white-space: nowrap;
}
.btn:hover   { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,144,217,.45); }
.btn:active  { transform: translateY(0); }

.btn--sm  { padding: 9px 20px; font-size: .875rem; }
.btn--lg  { padding: 15px 32px; font-size: 1.05rem; }

.btn--white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.btn--white:hover { box-shadow: 0 8px 32px rgba(0,0,0,.2); }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header--scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.header__logo-tag {
  font-size: .7rem;
  color: var(--blue-accent);
  font-weight: 500;
  letter-spacing: .04em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  transition: color var(--transition);
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
  transition: width var(--transition);
}
.header__link:hover { color: var(--blue-dark); }
.header__link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 2rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-nav--open { display: flex; }
.mobile-nav__link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}
.mobile-nav__link:hover { color: var(--blue-dark); }

/* ── Hero ── */
.hero {
  padding-top: 100px;
  padding-bottom: 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-bottom: 5rem;
}

.hero__content { max-width: 520px; }

.hero__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--blue-deep);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.hero__crm {
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero__actions { margin-bottom: 1.5rem; }

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__blob {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(ellipse at 40% 40%, var(--blue-pale) 0%, rgba(200,225,245,.4) 60%, transparent 100%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  top: -40px;
  right: -40px;
  z-index: 0;
  animation: blobFloat 10s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  33%       { border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%; }
  66%       { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
}

.hero__photo-frame {
  position: relative;
  z-index: 1;
  width: clamp(220px, 36vw, 380px);
  border-radius: var(--radius-lg) var(--radius-lg) 40% 40%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.8);
}
.hero__photo {
  width: 100%;
  height: clamp(300px, 50vw, 520px);
  object-fit: cover;
  object-position: top center;
}

.hero__badge {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.hero__badge-icon {
  font-size: 1.2rem;
  color: var(--blue-accent);
}
.hero__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: .8rem;
}
.hero__badge-text strong {
  color: var(--blue-dark);
  font-weight: 600;
}
.hero__badge-text span { color: var(--text-muted); }

.hero__wave {
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}
.hero__wave svg {
  width: 100%;
  height: 72px;
  display: block;
}

/* ── Services ── */
.services {
  background: var(--blue-ghost);
  padding: 5rem 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.card__text {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.services__cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.services__cta-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  max-width: 560px;
}

/* ── About ── */
.about {
  background: var(--white);
  padding: 6rem 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about__blob {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(ellipse at 50% 50%, var(--blue-pale) 0%, transparent 70%);
  border-radius: 50%;
  top: 20px;
  left: -20px;
  z-index: 0;
}
.about__photo {
  position: relative;
  z-index: 1;
  width: clamp(200px, 32vw, 340px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--white);
}
.about__crm-pill {
  position: absolute;
  bottom: -1rem;
  right: 0;
  z-index: 2;
  background: var(--blue-dark);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.about__content { padding-top: .5rem; }
.about__title   { margin-bottom: 1.5rem; }

.about__text {
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.credentials {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.credential__icon { font-size: 1.1rem; margin-top: .1rem; }
.credential strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.credential span {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  z-index: 0;
}
.contact__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.contact__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0;
}
.contact__sub {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}

/* ── Footer ── */
.footer {
  background: var(--blue-deep);
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}
.footer__meta {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}
.footer__nav {
  display: flex;
  gap: 1.5rem;
}
.footer__nav a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }
.footer__copy {
  text-align: center;
  font-size: .73rem;
  color: rgba(255,255,255,.28);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 3rem;
  }
  .hero__visual { order: -1; }
  .hero__content { max-width: 100%; }
  .hero__text    { margin-inline: auto; }
  .hero__badge   { left: 50%; transform: translateX(-50%); bottom: -1rem; }
  .hero__blob    { right: 50%; transform: translateX(50%); }
  .hero__name    { font-size: clamp(2.4rem, 8vw, 3.4rem); }

  .about__inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
}

@media (max-width: 640px) {
  .header__nav { display: none; }
  .hamburger   { display: flex; }

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

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav   { justify-content: center; }
}

/* ── Fade-in on scroll ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card, .credential, .about__text {
  animation: fadeUp .5s ease both;
}
.cards-grid .card:nth-child(1) { animation-delay: .05s; }
.cards-grid .card:nth-child(2) { animation-delay: .10s; }
.cards-grid .card:nth-child(3) { animation-delay: .15s; }
.cards-grid .card:nth-child(4) { animation-delay: .20s; }
.cards-grid .card:nth-child(5) { animation-delay: .25s; }
.cards-grid .card:nth-child(6) { animation-delay: .30s; }
