/* ===========================================================
   María — Web Designer Portfolio
   =========================================================== */

:root {
  --cream: #f6efe3;
  --cream-light: #fbf7ef;
  --paper: #fffdf8;
  --terracotta: #c1592e;
  --terracotta-dark: #a3481f;
  --terracotta-soft: #e3a984;
  --terracotta-pale: #f0c9ac;
  --olive: #4c5730;
  --olive-dark: #333c20;
  --olive-soft: #8a9463;
  --tan: #e7d5b8;
  --tan-dark: #d9c19c;
  --ink: #2e2a20;
  --ink-soft: #6b6455;
  --white: #ffffff;

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-script: "Caveat", cursive;
  --font-sans: "Jost", "Poppins", sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6vw;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-sans);
  letter-spacing: 0.28em;
  font-size: 13px;
  color: var(--olive);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 46px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--olive-soft);
}
.eyebrow .leaf { width: 16px; height: 16px; color: var(--olive); }

/* =================== NAV =================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: rgba(246, 239, 227, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(46, 42, 32, 0.06);
  padding: 14px 6vw;
}
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--terracotta-dark);
}
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 1px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--terracotta);
  color: var(--terracotta-dark);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: var(--terracotta); color: var(--white); }
.nav-toggle { display: none; }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: 150px 0 40px;
  overflow: hidden;
}
.hero-blob-1 {
  position: absolute;
  top: -120px; left: -140px;
  width: 480px; height: 480px;
  background: var(--tan);
  opacity: 0.55;
  border-radius: 50%;
  z-index: 0;
}
.hero-leaf-deco {
  position: absolute;
  top: 60px; left: 4vw;
  width: 90px;
  color: var(--olive-soft);
  opacity: 0.6;
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}
.hero-copy .small-leaf {
  width: 26px;
  height: 26px;
  color: var(--olive);
  margin-bottom: 14px;
}
.hero-copy .kicker {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 6px;
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(64px, 9vw, 108px);
  line-height: 0.95;
  color: var(--terracotta);
  margin: 0;
  font-weight: 700;
}
.hero-copy .portfolio-word {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.42em;
  color: var(--olive-dark);
  font-weight: 500;
  margin: 6px 0 26px;
}
.hero-copy .tagline {
  font-family: var(--font-script);
  font-size: clamp(26px, 3vw, 32px);
  color: var(--ink);
  line-height: 1.35;
  max-width: 380px;
  margin: 0 0 30px;
}
.badge-circle {
  width: 168px; height: 168px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 18px 30px -12px rgba(161, 71, 30, 0.55);
}
.badge-circle span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 2.1;
}
.badge-circle .dot { opacity: 0.7; margin: 0 2px; }

.hero-portrait {
  position: relative;
  height: 560px;
}
.hero-portrait .arch {
  position: absolute;
  right: 0; top: 0;
  width: 88%; height: 100%;
  background: var(--terracotta-soft);
  border-radius: 46% 46% 12% 12% / 30% 30% 6% 6%;
  overflow: hidden;
}
.hero-portrait .arch::before {
  content: "";
  position: absolute;
  right: 6%; bottom: 8%;
  width: 34%; height: 46%;
  background: var(--olive-dark);
  border-radius: 6px;
  opacity: 0.85;
}
.hero-portrait .arch::after {
  content: "";
  position: absolute;
  right: 9%; bottom: 12%;
  width: 5%; height: 38%;
  background: var(--olive);
  opacity: 0.6;
}
.hero-portrait .portrait-figure {
  position: absolute;
  left: 4%; bottom: 0;
  width: 78%; height: 96%;
}
.hero-portrait .blob-back {
  position: absolute;
  left: -10px; bottom: 30px;
  width: 220px; height: 220px;
  background: var(--cream-light);
  border: 2px solid var(--tan-dark);
  border-radius: 50%;
  z-index: -1;
}

/* wave divider */
.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: auto; display: block; }

/* =================== SELECTED WORK =================== */
.work {
  background: var(--cream-light);
  padding: 90px 0 100px;
}
.work-title { margin-bottom: 10px; }
h2.section-heading {
  font-family: var(--font-sans);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 700;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  margin-top: 30px;
}
.work-card { text-align: center; }
.work-card .site-name {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}
.work-card .site-cat {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 26px;
}
.device-stage {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.device-laptop {
  width: 240px;
  border: 7px solid var(--ink);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: var(--ink);
  overflow: hidden;
}
.device-laptop .screen {
  aspect-ratio: 16/10.5;
  background: var(--tan);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  text-align: left;
  color: var(--white);
  position: relative;
}
.laptop-base {
  width: 268px;
  height: 10px;
  background: var(--ink);
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
  position: relative;
  top: -1px;
}
.device-phone {
  position: absolute;
  right: 6px;
  bottom: -6px;
  width: 78px;
  height: 158px;
  background: var(--ink);
  border-radius: 16px;
  padding: 6px;
  box-shadow: -8px 8px 18px -6px rgba(46,42,32,0.35);
}
.device-phone .screen {
  width: 100%; height: 100%;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 7px;
  text-align: left;
}
.screen .mini-eyebrow {
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}
.screen h4 {
  font-family: var(--font-serif);
  margin: 0 0 6px;
  line-height: 1.15;
}
.device-laptop .screen h4 { font-size: 17px; }
.device-phone .screen h4 { font-size: 10px; margin-bottom: 5px; }
.screen .mini-btn {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
  width: fit-content;
  font-weight: 700;
}
.device-phone .mini-btn { padding: 4px 8px; font-size: 7px; }

.theme-ocean .screen { background: linear-gradient(160deg, #6d8fa8, #33506b); }
.theme-ceramics .screen { background: linear-gradient(160deg, var(--terracotta-soft), var(--terracotta-dark)); }
.theme-lifestyle .screen { background: linear-gradient(160deg, #9caf7c, var(--olive-dark)); }

/* =================== TESTIMONIALS =================== */
.testimonials { padding: 0 0 100px; background: var(--cream-light); }
.testimonial-panel {
  background: var(--olive-dark);
  border-radius: 220px 220px 40px 40px / 90px 90px 40px 40px;
  padding: 64px 6vw 70px;
  position: relative;
  overflow: hidden;
}
.testimonial-panel .vase {
  position: absolute;
  right: 4%; bottom: -30px;
  width: 130px;
  color: var(--terracotta);
  opacity: 0.9;
}
.testimonial-panel h2.section-heading { color: var(--tan); margin-bottom: 44px; }
.testimonial-panel .eyebrow::before,
.testimonial-panel .eyebrow::after { background: var(--olive-soft); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  position: relative;
  z-index: 1;
}
.testi { text-align: center; color: var(--cream-light); }
.testi .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--terracotta-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-dark);
}
.testi .avatar svg { width: 30px; height: 30px; }
.testi p.quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.92;
  min-height: 84px;
}
.testi .who {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-pale);
  font-weight: 600;
}

/* =================== SERVICES + PROCESS =================== */
.details {
  padding: 0 0 90px;
  background: var(--cream-light);
}
.details-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
}
.details h2.section-heading { text-align: left; }
.details .eyebrow { justify-content: flex-start; margin-bottom: 40px; }
.details .eyebrow::after { display: none; }

.service-item {
  display: flex;
  gap: 20px;
  margin-bottom: 34px;
}
.service-icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 24px; height: 24px; }
.service-item h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 4px 0 6px;
  color: var(--ink);
}
.service-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 320px;
}

.process-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  margin-bottom: 56px;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 34px; left: 34px; right: 34px;
  height: 1px;
  background-image: linear-gradient(to right, var(--olive-soft) 40%, transparent 0%);
  background-size: 10px 1px;
  background-repeat: repeat-x;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 18%;
}
.step .step-icon {
  width: 68px; height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1.5px solid var(--terracotta-soft);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step .step-icon svg { width: 26px; height: 26px; }
.step .step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--terracotta);
  margin-bottom: 6px;
  display: block;
}
.step h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}
.step p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.process-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}
.still-life {
  width: 190px; height: 130px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--tan) 0%, var(--terracotta-soft) 100%);
  position: relative;
  overflow: hidden;
  flex: none;
}
.still-life svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-footer .script-line {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--olive-dark);
}

/* =================== FOOTER / CONTACT =================== */
.contact {
  position: relative;
  background: var(--terracotta);
  color: var(--cream-light);
  overflow: hidden;
  padding: 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  min-height: 460px;
}
.contact-copy {
  padding: 90px 6vw 70px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.contact-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
  margin: 0 0 22px;
  max-width: 460px;
}
.contact-copy .lead {
  font-size: 16px;
  line-height: 1.7;
  max-width: 380px;
  color: var(--cream-light);
  opacity: 0.92;
  margin: 0 0 34px;
}
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  letter-spacing: 0.03em;
}
.contact-list svg { width: 18px; height: 18px; flex: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-photo {
  position: relative;
  background: linear-gradient(200deg, var(--terracotta-dark), #7a3315);
  overflow: hidden;
}
.contact-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-blob {
  position: absolute;
  left: -12%; top: -20%;
  width: 60%; height: 140%;
  background: var(--cream);
  opacity: 0.06;
  border-radius: 50%;
}

.site-footer-bottom {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 22px 0;
  background: var(--terracotta-dark);
  color: var(--cream-light);
  opacity: 0.85;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .tagline { margin-left: auto; margin-right: auto; }
  .hero-copy .kicker, .hero-copy h1, .hero-copy .portfolio-word { text-align: center; }
  .hero-copy .small-leaf { margin-left: auto; margin-right: auto; }
  .badge-circle { margin: 0 auto; }
  .hero-portrait { height: 420px; margin-top: 20px; }
  .work-grid { grid-template-columns: 1fr; gap: 70px; }
  .testi-grid { grid-template-columns: 1fr; gap: 40px; }
  .details-grid { grid-template-columns: 1fr; }
  .process-row { flex-wrap: wrap; gap: 30px; }
  .process-row::before { display: none; }
  .step { width: 40%; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-photo { min-height: 280px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .hero-copy h1 { font-size: 18vw; }
  .step { width: 100%; }
  .process-footer { flex-direction: column; text-align: center; }
}
