:root {
  --bg: #0d0b09;
  --bg-soft: #15110e;
  --panel: rgba(255, 250, 240, 0.05);
  --panel-strong: rgba(255, 250, 240, 0.08);
  --line: rgba(216, 194, 154, 0.18);
  --text: #f6f0e7;
  --muted: #ccbda7;
  --gold: #d9b57c;
  --gold-soft: #8d6a43;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --radius: 24px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(217, 181, 124, 0.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(217, 181, 124, 0.08), transparent 20%),
    linear-gradient(180deg, #0d0b09 0%, #0a0908 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
  opacity: 0.25;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 9, 8, 0.55);
  border-bottom: 1px solid rgba(217, 181, 124, 0.08);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible,
.credential-list a:hover,
.credential-list a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero-backdrop,
.hero-pattern {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background:
    radial-gradient(circle at 20% 30%, rgba(217, 181, 124, 0.18), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(217, 181, 124, 0.10), transparent 16%),
    linear-gradient(135deg, rgba(255,255,255,0.01), transparent 45%),
    linear-gradient(180deg, rgba(19, 14, 10, 0.92) 0%, rgba(13, 11, 9, 0.98) 100%);
}

.hero-pattern {
  background: url("assets/logo.png") center right 8% / min(42vw, 520px) no-repeat;
  opacity: 0.09;
  filter: grayscale(0.1);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 640px;
  margin: 1.25rem 0 0;
  color: #e0d3c0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #d9b57c, #9a7349);
  color: #110d0a;
  font-weight: 600;
}

.btn-secondary {
  border-color: rgba(217, 181, 124, 0.3);
  background: rgba(255,255,255,0.02);
}

.hero-card {
  justify-self: end;
}

.hero-card-inner,
.glass-card,
.project-placeholder,
.contact-card,
.expertise-card,
.signature-quote,
.portrait-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  position: relative;
  padding: 2rem;
  width: min(100%, 380px);
  border-radius: 32px;
  overflow: hidden;
}

.seal-ring {
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(217, 181, 124, 0.14);
}

.hero-emblem {
  width: 138px;
  margin-bottom: 1.2rem;
}

.hero-card-label,
.founder-role,
.contact-card span,
.credential-list span {
  color: var(--gold);
}

.hero-card-label {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-card-title {
  margin: 0.6rem 0 0;
  font-size: 1.28rem;
}

section {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 12ch;
}

.signature-quote {
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius);
  color: #f0e6da;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.about-grid,
.expertise-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.glass-card,
.expertise-card,
.contact-card {
  border-radius: var(--radius-sm);
  padding: 1.4rem;
}

.glass-card h3,
.expertise-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
}

.glass-card p,
.expertise-card p,
.contact-card p,
.founder-content p {
  margin: 0;
  color: #d7c9b7;
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: center;
}

.portrait-frame {
  border-radius: 28px;
  padding: 1rem;
}

.founder-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.founder-name {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.founder-role {
  margin: 0.3rem 0 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.credential-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.credential-list div {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(217, 181, 124, 0.1);
}

.credential-list span,
.contact-card span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credential-list strong,
.contact-card a,
.contact-card p {
  font-weight: 500;
}

.project-placeholder {
  min-height: 180px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 150px;
}

.footer {
  padding: 1.8rem 0 2.4rem;
  border-top: 1px solid rgba(217, 181, 124, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@media (max-width: 980px) {
  .hero-grid,
  .founder-layout,
  .about-grid,
  .expertise-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .section-heading h2,
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 86px 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(16, 13, 10, 0.96);
    border: 1px solid var(--line);
    transform: scale(0.98) translateY(-10px);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .nav-menu a {
    padding: 0.7rem 0.5rem;
  }

  .brand-tag {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  section {
    padding: 4rem 0;
  }

  .hero-grid {
    padding: 3rem 0 4rem;
  }

  .hero-card-inner,
  .signature-quote {
    padding: 1.35rem;
  }

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


/* Upgrades */
.services-grid {
  align-items: stretch;
}

.service-panel {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 181, 124, 0.10), transparent 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.service-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 181, 124, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.service-panel:hover::after {
  opacity: 1;
}

.service-index {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.market-position {
  margin-top: 1.25rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.04), rgba(255, 250, 240, 0.02));
  border: 1px solid rgba(217, 181, 124, 0.12);
}

.market-position p:last-child {
  margin: 0;
  color: #decfbc;
  max-width: 60ch;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-height: 48px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9b57c, #9a7349);
  color: #110d0a;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.42);
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
