/*
Theme Name: JEF Infrastructures
Theme URI: https://jefbuild.in/
Author: JEF Infrastructures and Interiors Private Limited
Description: Lightweight marketing theme for a Chennai interior fit-out contractor.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: jef
*/

@font-face {
  font-family: 'Aeonik';
  src: url('assets/fonts/Aeonik-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('assets/fonts/Aeonik-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('assets/fonts/Aeonik-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --surface-alt: #F0F0EC;
  --dark: #171A19;
  --dark-2: #2C302E;
  --ink: #171717;
  --ink-2: #5A5A55;
  --muted: #8A8A82;
  --rule: #DEDEDA;
  --rule-strong: #C9C9C2;
  --accent: #1E4D3B;
  --accent-soft: #E9EFEB;
  --accent-2: #C9A227;
  --wa: #128C4A;
  --wrap: 1180px;
  --pad: 32px;
  --font: 'Aeonik', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.035em; line-height: 1.08; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 72px); letter-spacing: -0.045em; font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 1.8vw, 25px); letter-spacing: -0.025em; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 7px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 88px 0 84px; }
.section--alt { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--tint { background: var(--surface-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--dark { background: var(--dark); color: #FBFBF8; }
.section--accent { background: var(--accent); color: #FFFFFF; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

.lbl {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.lbl--accent { color: var(--accent); }
.lbl--gold { color: var(--accent-2); }
.lbl--muted { color: var(--muted); }

.lede { font-size: 17px; line-height: 1.62; color: var(--ink-2); }
.section--dark .lede, .section--accent .lede { color: rgba(255,255,255,.85); }

.head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px; margin-bottom: 46px;
}
.head p { max-width: 68ch; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 15px 30px; border-radius: 2px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; text-align: center;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #17402F; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--onDark { border-color: rgba(255,255,255,.4); color: #FBFBF8; background: transparent; }
.btn--onDark:hover { border-color: #fff; color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0F7A40; color: #fff; }
.btn--sm { min-height: 46px; padding: 12px 22px; font-size: 14px; }

.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { font-weight: 700; font-size: 30px; letter-spacing: -0.045em; }
.brand__bar { width: 1px; height: 30px; background: var(--rule-strong); }
.brand__name {
  font-size: 8.5px; line-height: 1.55; letter-spacing: .13em;
  text-transform: uppercase; font-weight: 600; color: var(--ink-2);
}

.nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { font-size: 14.5px; font-weight: 500; color: #3A3A36; }
.nav a:hover, .nav .current-menu-item > a { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 14px; font-weight: 600; color: var(--ink); }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}

.hero { position: relative; min-height: 620px; display: grid; }
.hero__media { grid-area: 1 / 1; position: relative; overflow: hidden; background: var(--dark); }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  grid-area: 1 / 1;
  background: linear-gradient(180deg, rgba(12,14,13,.62) 0%, rgba(12,14,13,.5) 42%, rgba(12,14,13,.9) 100%);
}
.hero__inner {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 24px;
  padding: 72px var(--pad); color: #FBFBF8;
}
.hero__inner .lbl { color: #C9CFC9; }
.hero h1 { color: #FBFBF8; max-width: 16ch; }
.hero__sub { font-size: clamp(15.5px, 1.4vw, 18.5px); line-height: 1.6; color: #C9CFC9; max-width: 62ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.hero__note { font-size: 13.5px; letter-spacing: .04em; color: #9AA29A; margin: 0; }

.stats { background: var(--dark); color: #FBFBF8; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 24px 18px; text-align: center; border-right: 1px solid var(--dark-2); }
.stat:last-child { border-right: 0; }
.stat__n { font-weight: 700; font-size: 28px; letter-spacing: -0.03em; }
.stat__n span { font-size: 18px; color: var(--accent-2); }
.stat .lbl { font-size: 9.5px; color: #8E938E; margin-top: 6px; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.card { border: 1px solid var(--rule); background: var(--surface); display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 10; background: var(--surface-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; text-align: center; flex: 1; }
.card__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.card__title { font-weight: 700; font-size: 22px; letter-spacing: -0.025em; }
.card__link { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: auto; }

.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; }
.feature svg { color: var(--accent); }
.feature h3 { font-size: 18.5px; letter-spacing: -0.02em; }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center; }
.split--form { grid-template-columns: 1fr 480px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 15px; line-height: 1.55; color: #E4DED3; }
.check-list svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-2); }

.warranty-card {
  background: #FBFBF8; color: var(--ink); padding: 32px;
  display: flex; flex-direction: column; gap: 20px; border-top: 6px solid var(--accent);
}
.warranty-card__big { font-weight: 700; font-size: 58px; line-height: .9; letter-spacing: -0.055em; }
.warranty-card__big span { font-size: 24px; letter-spacing: -0.02em; }
.warranty-card dl { display: grid; grid-template-columns: 88px 1fr; gap: 10px 14px; margin: 0; font-size: 13px; border-top: 1px solid #E8E8E3; padding-top: 18px; }
.warranty-card dt { color: var(--muted); }
.warranty-card dd { margin: 0; }

.rating { display: flex; align-items: center; gap: 16px; }
.rating__n { font-weight: 700; font-size: 50px; letter-spacing: -0.05em; line-height: 1; }
.stars { color: var(--accent); letter-spacing: 1px; font-size: 15px; }

.quote { border: 1px solid var(--rule); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; }
.quote figcaption { margin-top: auto; border-top: 1px solid #EBEBE6; padding-top: 16px; }
.quote cite { font-style: normal; font-size: 14px; font-weight: 600; display: block; }

.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; }
.zone h3 { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 9px; }
.zone p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }

.area-block { border-top: 1px solid var(--rule); padding: 30px 0; }
.area-block__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.area-block__head h2 { font-size: 24px; letter-spacing: -0.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.chips li { margin: 0; }
.chip { display: inline-block; border: 1px solid var(--rule); background: var(--surface); padding: 9px 15px; font-size: 13.5px; color: #3A3A36; }
.chip--linked { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.section--dark .chip { border-color: #333835; background: transparent; color: #E2E6E1; }

.faq { max-width: 900px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--rule); padding: 26px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__item h3 { font-size: 19px; letter-spacing: -0.025em; margin-bottom: 10px; }
.faq__item p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); }
.spec-table th {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); text-align: left; padding: 13px 16px;
  background: var(--surface-alt); border-bottom: 1px solid var(--rule);
}
.spec-table td { padding: 13px 16px; border-bottom: 1px solid #EBEBE6; color: var(--ink-2); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); }

.contact-card { border: 1px solid var(--rule); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-card--wa { border-color: #25D366; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 999px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.contact-card--wa .contact-card__icon { background: #E4F8EB; color: var(--wa); }
.contact-card__value { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.contact-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.contact-card .btn { margin-top: auto; }

.form { border: 1px solid var(--rule); background: var(--surface); padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
.form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #FBFBF8; border: 1px solid var(--rule); border-radius: 2px; padding: 14px 15px;
}
.form textarea { min-height: 96px; resize: vertical; }
.form__fields { display: flex; flex-direction: column; gap: 14px; }
.form__note { font-size: 12.5px; line-height: 1.55; color: var(--muted); text-align: center; margin: 0; }
.form__hp { position: absolute; left: -9999px; }

.jef-map { position: relative; border: 1px solid var(--rule); background: var(--surface-alt); overflow: hidden; }
.jef-map img { width: 100%; height: auto; object-fit: cover; }
.jef-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.jef-map button {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  background: var(--accent); color: #fff; border: 0; border-radius: 2px;
  padding: 15px 26px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}

.reels { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.reel-stage {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16;
  background: #1D211F; border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.reel-stage img { width: 100%; height: 100%; object-fit: cover; }
.reel-stage iframe { width: 100%; height: 100%; border: 0; }
.reel-stage__play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px;
  border-radius: 999px; background: rgba(255,255,255,.92); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.reel-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.reel-list li { margin: 0; }
.reel-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16;
  padding: 0; border: 1px solid var(--rule); background: var(--surface-alt); cursor: pointer; overflow: hidden;
}
.reel-btn img { width: 100%; height: 100%; object-fit: cover; }
.reel-btn__play {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px;
  border-radius: 999px; background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.reel-side { display: flex; flex-direction: column; gap: 26px; }
.reel-side__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.reel-shuffle {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule);
  background: var(--surface); padding: 11px 16px; font-family: inherit;
  font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 2px;
}

.jef-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.jef-wa:hover { color: #fff; background: #0F7A40; }

.mobile-bar { display: none; }

.site-footer { background: var(--dark); color: #9A9F99; padding: 62px 0 40px; }
.site-footer a { color: #9A9F99; }
.site-footer a:hover { color: #FBFBF8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-2); }
.footer-col h2 { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #FBFBF8; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col li { margin: 0; font-size: 14px; }
.footer-brand__mark { font-weight: 700; font-size: 24px; color: #FBFBF8; letter-spacing: -0.045em; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.65; margin: 0 0 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 26px; font-size: 12.5px; flex-wrap: wrap; }
.social { display: flex; align-items: center; gap: 20px; }

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--form { grid-template-columns: 1fr; gap: 44px; }
  .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reels { grid-template-columns: 1fr; }
  .reel-stage { margin: 0 auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .section { padding: 56px 0 52px; }
  .grid, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 18px; }
  .zones { grid-template-columns: 1fr; gap: 26px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-bottom: 1px solid var(--dark-2); }
  .stat:nth-child(2n) { border-right: 0; }
  .site-header .wrap { min-height: 62px; }
  .brand__mark { font-size: 23px; }
  .brand__bar { height: 26px; }
  .brand__name { font-size: 7.5px; letter-spacing: .11em; }
  .nav { display: none; }
  .nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--rule); padding: 12px var(--pad) 20px; z-index: 50;
  }
  .nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open li { border-bottom: 1px solid var(--rule); }
  .nav.is-open a { display: block; padding: 15px 0; font-size: 16px; }
  .site-header { position: relative; }
  .nav-toggle { display: inline-flex; }
  .header-phone, .header-actions .btn { display: none; }
  .hero { min-height: 540px; }
  .hero__inner { padding: 56px var(--pad) 32px; }
  .hero__actions .btn { width: 100%; }
  .reel-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .jef-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .jef-wa { padding: 15px; bottom: 78px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 55; background: var(--dark); border-top: 1px solid var(--dark-2);
  }
  .mobile-bar a {
    min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 9px;
    color: #FBFBF8; font-size: 15px; font-weight: 600;
  }
  .mobile-bar a:first-child { border-right: 1px solid var(--dark-2); }
  .mobile-bar a:last-child { background: var(--wa); color: #fff; }
  body { padding-bottom: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
