/*
Theme Name: Equator Corporation
Theme URI: https://equatorcorporation.com/
Author: Equator Corporation Private Limited
Description: A warm, premium catalogue theme for Equator Corporation's air-dehydrated vegetable powders.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: equator-corporation
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
  --cream: #fdfdfd;
  --paper: #f9f9f6;
  --green: #173b1c;
  --gold: #be8a2b;
  --soft: #fcfbf7;
  --ink-muted: #657167;
  --line: #e4e1d8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--green); font-family: var(--sans); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.045em; }
.display { font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: .93; margin: 0; }
.lede { color: #566457; font-size: 1.04rem; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; border: 1px solid var(--green); border-radius: 999px; padding: 0 21px; background: var(--green); color: var(--cream); font-size: .77rem; font-weight: 700; transition: .2s ease; }
.button:hover { border-color: var(--gold); background: var(--gold); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--green); }
.button.secondary:hover { background: var(--green); color: var(--cream); }

.site-header { position: fixed; z-index: 30; top: 0; right: 0; left: 0; padding: 18px 0; transition: .3s ease; }
.site-header.is-scrolled { background: rgba(253,253,253,.93); box-shadow: 0 1px 0 rgba(23,59,28,.1); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: .86rem; font-weight: 700; letter-spacing: .08em; }
.brand-sub { margin-top: 4px; color: var(--ink-muted); font-size: .59rem; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 31px; font-size: .82rem; font-weight: 600; }
.main-nav a { position: relative; padding: 10px 0; color: #4d5c50; }
.main-nav a:hover, .main-nav a.current { color: var(--green); }
.main-nav a:hover::after, .main-nav a.current::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--gold); content: ''; }
.products-menu { position: relative; }
.products-menu > button { border: 0; background: transparent; color: #4d5c50; font-size: .82rem; font-weight: 600; }
.products-menu > button::after { content: '⌄'; margin-left: 5px; color: var(--gold); }
.products-submenu { position: absolute; top: 39px; left: -18px; display: none; width: 220px; padding: 9px; border: 1px solid var(--line); background: var(--cream); box-shadow: 0 16px 40px rgba(23,59,28,.12); }
.products-menu:hover .products-submenu, .products-menu:focus-within .products-submenu { display: block; }
.products-submenu a, .products-submenu span { display: flex; justify-content: space-between; padding: 11px 12px; font-size: .79rem; }
.products-submenu span { color: var(--gold); font-size: .66rem; }
.mobile-toggle { display: none; border: 0; background: transparent; color: var(--green); font-size: 1.5rem; }
.mobile-nav { display: none; }

.hero { min-height: 790px; padding: 190px 0 82px; background: var(--soft); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 40px; }
.hero h1 { max-width: 620px; margin: 28px 0; }
.hero h1 span { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 40px; color: var(--ink-muted); font-size: .76rem; }
.hero-note span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.hero-art { position: relative; min-height: 540px; }
.hero-art::before { position: absolute; top: 50px; right: 6%; width: 410px; height: 410px; border-radius: 48% 52% 49% 51%; background: #d7e1cf; content: ''; transform: rotate(18deg); }
.hero-art::after { position: absolute; top: 86px; right: 18%; width: 325px; height: 325px; border: 1px solid rgba(23,59,28,.15); border-radius: 50%; content: ''; }
.hero-pack { position: absolute; z-index: 2; top: 126px; right: 14%; width: 260px; height: 335px; overflow: hidden; border-radius: 16px 16px 24px 24px; background: #f4f0e5; box-shadow: 26px 33px 40px rgba(23,59,28,.13); transform: rotate(7deg); }
.hero-pack::before { position: absolute; inset: 13px; border: 1px solid rgba(190,138,43,.48); border-radius: 10px; content: ''; }
.hero-pack-copy { position: relative; z-index: 1; display: block; margin: 71px 33px 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; letter-spacing: .07em; }
.hero-pack-copy + .hero-pack-copy { margin-top: 2px; }
.hero-leaf { position: absolute; z-index: 3; right: 18%; bottom: 85px; width: 95px; height: 205px; border-radius: 100% 0 100% 0; background: #91a987; transform: rotate(28deg); }
.hero-label { position: absolute; z-index: 4; right: 0; bottom: 58px; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-label::before { display: block; width: 1px; height: 40px; margin-bottom: 8px; background: var(--gold); content: ''; }

.ticker { display: flex; gap: 42px; overflow: hidden; padding: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #70796e; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker span::before { margin-right: 20px; color: var(--gold); content: '+'; }
.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.split h2, .section-heading h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: .98; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-heading p { max-width: 380px; margin: 0; color: var(--ink-muted); line-height: 1.7; }
.feature-list { display: grid; gap: 0; margin-top: 28px; }
.feature { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 21px 0; border-top: 1px solid var(--line); }
.feature-number { color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.feature h3 { margin: 0 0 7px; font-size: 1.32rem; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--ink-muted); font-size: .86rem; line-height: 1.6; }
.cream-band { background: var(--paper); }
.process-band { background: var(--green); color: var(--cream); }
.process-band .eyebrow { color: #d0a34f; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; }
.process-step { min-height: 200px; padding: 0 27px; border-left: 1px solid rgba(253,253,253,.23); }
.process-step:first-child { padding-left: 0; border-left: 0; }
.process-step span { color: #d0a34f; font-family: var(--serif); font-size: 2rem; }
.process-step h3 { margin: 22px 0 12px; font-size: 1.35rem; letter-spacing: -.02em; }
.process-step p { margin: 0; color: rgba(253,253,253,.68); font-size: .81rem; line-height: 1.7; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { overflow: hidden; border: 1px solid var(--line); background: var(--soft); transition: .25s ease; }
.product-card:hover { box-shadow: 0 18px 40px rgba(23,59,28,.12); transform: translateY(-5px); }
.product-visual { height: 195px; overflow: hidden; background: #e8eddf; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-visual img { transform: scale(1.04); }
.product-body { padding: 22px 18px 20px; }
.product-body h3 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.025em; }
.product-body p { min-height: 48px; margin: 0 0 19px; color: var(--ink-muted); font-size: .76rem; line-height: 1.55; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--green); font-size: .71rem; font-weight: 700; }
.text-button:hover { color: var(--gold); }
.quote-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 63px 70px; background: #e8eddf; }
.quote-panel h2 { max-width: 630px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .98; }

.page-hero { padding: 190px 0 105px; background: var(--soft); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 60px; }
.page-hero h1 { max-width: 680px; margin: 25px 0 0; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .92; }
.page-hero-grid p { max-width: 410px; margin: 0 0 5px; color: var(--ink-muted); line-height: 1.75; }
.about-layout, .contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.about-art { position: relative; min-height: 495px; overflow: hidden; background: #dfe9d9; }
.about-art::before { position: absolute; top: 80px; left: 13%; width: 330px; height: 330px; border: 1px solid rgba(23,59,28,.17); border-radius: 50%; content: ''; }
.about-sun { position: absolute; top: 115px; left: 26%; width: 190px; height: 190px; border-radius: 50%; background: #c3a363; }
.about-stem { position: absolute; top: 125px; left: 50%; width: 2px; height: 310px; background: var(--green); transform: rotate(10deg); transform-origin: bottom; }
.about-leaf { position: absolute; top: 245px; left: 37%; width: 130px; height: 70px; border-radius: 100% 0 100% 0; background: #668565; transform: rotate(-20deg); }
.about-art-copy { position: absolute; right: 28px; bottom: 26px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.05; text-align: right; }
.about-copy h2, .contact-info h1 { margin: 20px 0; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .98; }
.about-copy p { color: var(--ink-muted); line-height: 1.8; }
.callout { margin-top: 28px; padding: 21px 0 21px 20px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.notice { margin: 0 0 35px; padding: 28px; border: 1px solid #dbc48f; background: #fbf5e8; }
.notice strong { display: block; margin-bottom: 8px; color: var(--gold); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.notice p { margin: 0; color: #536256; line-height: 1.7; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.method-card { padding: 27px; border: 1px solid var(--line); background: var(--paper); }
.method-card h3 { margin: 0 0 12px; font-size: 1.4rem; }
.method-card p { margin: 0; color: var(--ink-muted); font-size: .82rem; line-height: 1.7; }

.contact-links { display: grid; gap: 13px; margin: 30px 0; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: .9rem; }
.contact-link:hover { color: var(--gold); }
.contact-address { padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: .86rem; line-height: 1.8; }
.form-card { padding: 40px; background: var(--paper); }
.form-card h2 { margin: 0 0 8px; font-size: 2.5rem; }
.form-card > p { margin: 0 0 28px; color: var(--ink-muted); font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--green); font-size: .69rem; font-weight: 700; letter-spacing: .04em; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dcd9d0; border-radius: 0; padding: 13px 14px; background: var(--cream); color: var(--green); outline: 0; }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(190,138,43,.13); }
.form-submit { margin-top: 22px; }
.form-status { margin-bottom: 20px; padding: 14px; background: #e7f1e3; color: var(--green); font-size: .82rem; }
.form-status.error { background: #f7e4de; color: #8a3327; }

.site-footer { padding: 70px 0 30px; background: var(--green); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 60px; padding-bottom: 60px; }
.footer-brand .brand-sub, .site-footer .muted { color: rgba(253,253,253,.58); }
.footer-brand p { max-width: 310px; color: rgba(253,253,253,.63); font-size: .81rem; line-height: 1.7; }
.site-footer h3 { margin: 0 0 16px; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; color: rgba(253,253,253,.7); font-size: .8rem; }
.footer-links a:hover { color: #d0a34f; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(253,253,253,.17); color: rgba(253,253,253,.46); font-size: .68rem; }
.whatsapp { position: fixed; z-index: 20; right: 27px; bottom: 24px; display: grid; place-items: center; width: 53px; height: 53px; border: 3px solid var(--cream); border-radius: 50%; background: #173b1c; color: var(--cream); box-shadow: 0 8px 20px rgba(23,59,28,.2); transition: .2s ease; }
.whatsapp:hover { background: var(--gold); transform: translateY(-4px); }

.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: none; place-items: center; overflow-y: auto; padding: 28px; background: rgba(23,59,28,.54); backdrop-filter: blur(6px); }
.modal-backdrop.is-open { display: grid; }
.modal { position: relative; width: min(820px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; background: var(--cream); box-shadow: 0 20px 80px rgba(23,59,28,.22); }
.modal-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); color: var(--green); }
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.detail-modal { display: grid; grid-template-columns: .78fr 1.22fr; }
.detail-art { display: flex; align-items: center; justify-content: center; min-height: 450px; padding: 25px; background: var(--paper); }
.detail-art img { width: 100%; height: 100%; max-height: 450px; object-fit: cover; }
.detail-copy { padding: 55px 47px 45px; }
.detail-copy h2 { margin: 14px 0; font-size: 3rem; line-height: 1; }
.detail-copy p { color: var(--ink-muted); font-size: .86rem; line-height: 1.7; }
.detail-block { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.detail-block h3 { margin: 0 0 9px; font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.spec { padding: 7px 10px; border: 1px solid #dedbd1; border-radius: 999px; color: #536256; font-size: .67rem; }
.modal-form { width: min(710px, 100%); padding: 48px; }
.modal-form h2 { margin: 0 0 8px; font-size: 2.7rem; }

@media (max-width: 980px) {
  .container { width: min(100% - 36px, 720px); }
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-nav { display: grid; gap: 4px; padding: 13px; border: 1px solid var(--line); background: var(--cream); box-shadow: 0 16px 40px rgba(23,59,28,.12); }
  .mobile-nav a, .mobile-nav button { padding: 13px 11px; border: 0; background: transparent; color: var(--green); font-size: .82rem; text-align: left; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: var(--paper); }
  .hero { min-height: auto; padding: 145px 0 70px; }
  .hero-grid, .page-hero-grid, .split, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero-art { min-height: 430px; }
  .hero-art::before { width: 340px; height: 340px; right: 9%; top: 30px; }
  .hero-art::after { width: 270px; height: 270px; right: 18%; top: 63px; }
  .hero-pack { top: 84px; right: 20%; width: 220px; height: 285px; }
  .hero-pack-copy { margin-left: 28px; font-size: 13px; }
  .hero-pack-copy:first-child { margin-top: 58px; }
  .hero-leaf { right: 7%; bottom: 44px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3), .process-step:nth-child(4) { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(253,253,253,.25); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 30px, 480px); }
  .section { padding: 78px 0; }
  .display { font-size: clamp(2.9rem, 16vw, 4.1rem); }
  .hero-art { min-height: 350px; }
  .hero-art::before { width: 270px; height: 270px; right: 5%; }
  .hero-art::after { width: 220px; height: 220px; right: 15%; top: 53px; }
  .hero-pack { right: 22%; top: 66px; width: 174px; height: 230px; }
  .hero-pack-copy { margin-left: 22px; font-size: 10px; }
  .hero-pack-copy:first-child { margin-top: 47px; }
  .hero-leaf { width: 100px; height: 160px; bottom: 16px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 22px; }
  .product-grid, .method-grid, .form-grid { grid-template-columns: 1fr; }
  .quote-panel { grid-template-columns: 1fr; padding: 46px 27px; }
  .about-art { min-height: 350px; }
  .about-art::before { width: 250px; height: 250px; left: 10%; top: 50px; }
  .about-sun { width: 165px; height: 165px; left: 24%; top: 75px; }
  .about-stem { height: 220px; top: 91px; }
  .about-leaf { left: 31%; top: 148px; }
  .form-card, .modal-form { padding: 25px 19px; }
  .field.full { grid-column: auto; }
  .detail-modal { grid-template-columns: 1fr; }
  .detail-art { min-height: 240px; }
  .detail-copy { padding: 36px 24px 28px; }
  .detail-copy h2 { font-size: 2.45rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
}