/* ============================================================
   MeetLens — Meet Optical Glasses Limited
   Light theme · tortoise brown accent
   ============================================================ */

:root {
  --ivory: #FBF7F2;
  --espresso: #2B1E14;
  --tortoise: #8A5A2B;
  --camel: #D9C3A8;
  --dark-tan: #5C3D1E;
  --cream: #F3EADF;
  --cream-2: #EFE4D5;
  --hairline: #E3D7C6;
  --on-tortoise: #FBF7F2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--espresso);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--dark-tan);
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  color: var(--espresso);
  line-height: 1.15;
  font-weight: 700;
}

/* ------------------------------------------------------------
   LENS NAV
   ------------------------------------------------------------ */
.lens-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}

.lens-nav::after {
  content: "";
  display: block;
  height: 2px;
  background-color: var(--tortoise);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.lens-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.lens-wordmark {
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--espresso);
  font-size: 1.05rem;
  white-space: nowrap;
}

.lens-glyph {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.lens-glyph .lens-a,
.lens-glyph .lens-b {
  position: absolute;
  top: 0;
  width: 17px;
  height: 17px;
  border: 2px solid var(--tortoise);
  border-radius: 50%;
}

.lens-glyph .lens-a { left: 0; }
.lens-glyph .lens-b { left: 16px; }

.lens-glyph .lens-bridge {
  position: absolute;
  top: 7px;
  left: 15px;
  width: 5px;
  height: 2px;
  background-color: var(--tortoise);
}

.lens-glyph .lens-temple {
  position: absolute;
  top: 2px;
  left: 33px;
  width: 8px;
  height: 2px;
  background-color: var(--tortoise);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.nav-link {
  position: relative;
  color: var(--espresso);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: var(--tortoise);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.btn-nav {
  background-color: var(--tortoise);
  color: var(--on-tortoise);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-nav:hover {
  background-color: var(--dark-tan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--tortoise);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.lens-hero {
  background-color: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow-chip {
  display: inline-block;
  background-color: var(--camel);
  color: var(--dark-tan);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--espresso);
  margin-bottom: 30px;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--tortoise);
  color: var(--on-tortoise);
}

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

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

.btn-outline:hover {
  background-color: var(--dark-tan);
  color: var(--on-tortoise);
}

/* Lens art */
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lens-magnifier {
  position: relative;
  width: 220px;
  height: 220px;
  background-color: var(--camel);
  border: 12px solid var(--tortoise);
  border-radius: 50%;
}

.lens-glare {
  position: absolute;
  top: 46px;
  left: 50px;
  width: 24px;
  height: 24px;
  background-color: var(--dark-tan);
  border-radius: 50%;
}

.lens-handle {
  position: absolute;
  width: 128px;
  height: 22px;
  background-color: var(--tortoise);
  border-radius: 11px;
  right: -74px;
  bottom: -16px;
  transform: rotate(-45deg);
  transform-origin: left center;
}

/* ------------------------------------------------------------
   SECTION SHELL
   ------------------------------------------------------------ */
.section {
  padding: 72px 24px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--espresso);
}

/* ------------------------------------------------------------
   STATEMENT ROW
   ------------------------------------------------------------ */
.statement-row {
  background-color: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.statement-inner p {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark-tan);
}

/* ------------------------------------------------------------
   FRAME ROWS
   ------------------------------------------------------------ */
.frame-rows {
  background-color: var(--ivory);
}

.frame-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}

.frame-row:first-of-type {
  border-top: 1px solid var(--hairline);
}

.frame-block {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.frame-block.tortoise {
  background-color: var(--tortoise);
}

.frame-block.camel {
  background-color: var(--camel);
}

.frame-block.dark-tan {
  background-color: var(--dark-tan);
}

.frame-block.ivory {
  background-color: var(--ivory);
  border: 2px solid var(--tortoise);
}

.frame-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 2px;
}

.frame-desc {
  color: var(--espresso);
}

/* ------------------------------------------------------------
   METRIC MARKED
   ------------------------------------------------------------ */
.metric-marked {
  background-color: var(--cream-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}

.metric-item .metric-marker {
  width: 14px;
  height: 14px;
  background-color: var(--tortoise);
  margin-bottom: 16px;
}

.metric-value {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--espresso);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  color: var(--dark-tan);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   OPT ROWS
   ------------------------------------------------------------ */
.opt-rows {
  background-color: var(--ivory);
}

.opt-row {
  display: grid;
  grid-template-columns: 4px 220px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}

.opt-row:first-of-type {
  border-top: 1px solid var(--hairline);
}

.opt-bar {
  width: 4px;
  height: 46px;
  background-color: var(--tortoise);
  border-radius: 2px;
}

.opt-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso);
}

.opt-desc {
  color: var(--espresso);
}

.opt-note {
  color: var(--dark-tan);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq {
  background-color: var(--ivory);
}

.faq-item {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  margin-bottom: 12px;
  background-color: var(--cream);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
}

.faq-q .faq-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--tortoise);
  color: var(--on-tortoise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--espresso);
}

/* ------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------ */
.cta-band {
  background-color: var(--tortoise);
}

.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: var(--on-tortoise);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.cta-inner p {
  color: var(--camel);
  max-width: 52ch;
}

.btn-light {
  background-color: var(--on-tortoise);
  color: var(--tortoise);
}

.btn-light:hover {
  background-color: var(--camel);
  color: var(--dark-tan);
}

/* ------------------------------------------------------------
   FRAME FOOTER
   ------------------------------------------------------------ */
.frame-footer {
  background-color: var(--ivory);
  border-top: 4px solid var(--tortoise);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background-color: var(--tortoise);
  border-radius: 6px;
  margin-top: 4px;
}

.footer-wordmark {
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--espresso);
  font-size: 1.1rem;
}

.footer-brand p {
  color: var(--espresso);
  margin-top: 8px;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-tan);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--espresso);
  font-weight: 500;
}

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

.footer-col address {
  font-style: normal;
  color: var(--espresso);
  line-height: 1.6;
}

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
  text-align: center;
  color: var(--dark-tan);
  font-size: 0.9rem;
}

.footer-legal a {
  color: var(--dark-tan);
  font-weight: 600;
}

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

/* ------------------------------------------------------------
   GENERIC PAGE BODY (secondary pages)
   ------------------------------------------------------------ */
.page-hero {
  background-color: var(--cream);
  border-bottom: 1px solid var(--hairline);
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.page-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-hero-inner p {
  font-size: 1.1rem;
  max-width: 60ch;
  color: var(--espresso);
}

.page-body {
  padding: 64px 24px;
}

.page-body-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Services */
.service-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
}

.service-block:first-of-type {
  border-top: 1px solid var(--hairline);
}

.service-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--camel);
  border: 3px solid var(--tortoise);
}

.service-mark.dark {
  background-color: var(--tortoise);
}

.service-mark.tan {
  background-color: var(--dark-tan);
}

.service-block h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.service-block p {
  color: var(--espresso);
  max-width: 70ch;
}

.process-list {
  list-style: none;
  counter-reset: step;
  margin-top: 8px;
}

.process-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 52px;
  border-bottom: 1px solid var(--hairline);
  font-weight: 600;
  color: var(--espresso);
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  height: 36px;
  background-color: var(--camel);
  color: var(--dark-tan);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 14px;
}

.info-line {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--espresso);
}

.info-line strong {
  color: var(--dark-tan);
  flex: 0 0 90px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: var(--dark-tan);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background-color: var(--ivory);
  color: var(--espresso);
  font-family: inherit;
  font-size: 1rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--tortoise);
  border-color: var(--tortoise);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--dark-tan);
  margin-top: 12px;
}

.business-hours {
  background-color: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 12px;
}

.business-hours li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--espresso);
  border-bottom: 1px solid var(--hairline);
}

.business-hours li:last-child {
  border-bottom: none;
}

.business-hours li span:first-child {
  font-weight: 600;
}

/* ------------------------------------------------------------
   REVEAL ANIMATION
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 24px 64px;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-art {
    margin-top: 8px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .opt-row {
    grid-template-columns: 4px 1fr;
    gap: 16px;
  }

  .opt-note {
    grid-column: 2;
    text-align: left;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--ivory);
    border-bottom: 2px solid var(--tortoise);
    padding: 8px 24px 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }
}
