/*
Theme Name: NewOfficeMail Native
Theme URI: https://newofficemail.com/
Author: NewOfficeMail
Description: Fast local conversion theme for NewOfficeMail.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: newofficemail
*/

:root {
  --navy: #14213d;
  --navy-2: #1d315b;
  --ink: #17213b;
  --muted: #5d677b;
  --orange: #ed7545;
  --orange-dark: #c94e24;
  --green: #2f9e73;
  --paper: #fbf7ef;
  --paper-2: #f3eadc;
  --white: #fff;
  --line: #e3dacc;
  --shadow: 0 24px 65px rgba(20, 33, 61, .14);
  --radius: 24px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 17px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #ffb28f; outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(227,218,204,.8); background: rgba(255,255,255,.94); backdrop-filter: blur(15px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); font-size: 20px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 10px 11px; color: var(--navy); border-radius: 10px; font-size: 14px; font-weight: 780; text-decoration: none; }
.nav a:hover { background: var(--paper); }
.nav .nav-cta { margin-left: 7px; padding: 11px 17px; color: #fff; background: var(--orange); }
.nav .nav-cta:hover { color: #fff; background: var(--orange-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; color: var(--navy); border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; overflow: hidden; padding: 78px 0 74px; background: linear-gradient(120deg, var(--paper) 0 58%, #fff 58%); }
.hero::before { content: ""; position: absolute; left: -120px; bottom: -170px; width: 460px; height: 460px; border: 65px solid rgba(237,117,69,.09); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--orange-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--orange); }
h1, h2, h3 { margin: 0 0 .55em; color: var(--navy); font-weight: 900; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(43px, 5.6vw, 73px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: clamp(21px, 2vw, 27px); }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button, a.button, .entry-content a.cta { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 21px; border: 1px solid transparent; border-radius: 12px; color: #fff; background: var(--orange); font-weight: 850; line-height: 1.2; text-decoration: none; box-shadow: 0 12px 28px rgba(201,78,36,.2); transition: .18s ease; }
.button:hover, a.button:hover { color: #fff; background: var(--orange-dark); transform: translateY(-2px); }
.button.secondary { color: var(--navy); border-color: var(--line); background: #fff; box-shadow: none; }
.button.secondary:hover { color: var(--navy); background: var(--paper); }
.microcopy { margin-top: 14px; color: #747d8e !important; font-size: 12px !important; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -16px 30px 30px -17px; border-radius: 30px; background: var(--navy); transform: rotate(-3deg); }
.hero-photo { position: relative; width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.price-flag { position: absolute; right: -20px; bottom: 27px; padding: 18px 20px; border-radius: 17px; color: #fff; background: var(--green); box-shadow: 0 18px 40px rgba(47,158,115,.28); }
.price-flag small { display: block; opacity: .86; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price-flag strong { font-size: 25px; }

.proof { padding: 22px 0; color: #fff; background: var(--navy); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; }
.proof-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font-weight: 900; }

.section { padding: 90px 0; }
.section.tint { background: var(--paper); }
.section.navy { color: #fff; background: var(--navy); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p, .section.navy .lead { color: #c8d1e5; }
.section.navy .eyebrow { color: #ff9a73; }
.section.navy .card h3 { color: var(--navy); }
.section.navy .card p { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { color: var(--muted); font-size: 19px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 23px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 32px rgba(20,33,61,.045); }
.card-icon { display: grid; width: 46px; height: 46px; margin-bottom: 19px; place-items: center; border-radius: 14px; color: var(--orange-dark); background: #fff0e9; font-weight: 900; }
.card p { margin-bottom: 0; color: var(--muted); }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 31px; border-radius: 22px; background: #fff; }
.step::before { counter-increment: steps; content: counter(steps); display: grid; width: 41px; height: 41px; margin-bottom: 22px; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-weight: 900; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; align-items: stretch; }
.plan { position: relative; display: flex; min-width: 0; padding: 25px; flex-direction: column; border: 1px solid #d8dfe9; border-radius: 21px; background: #fff; }
.plan.featured { border: 2px solid var(--orange); box-shadow: 0 20px 45px rgba(20,33,61,.12); transform: translateY(-8px); }
.popular { position: absolute; top: -13px; left: 19px; padding: 5px 10px; border-radius: 20px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 22px; }
.plan-price { margin: 10px 0 18px; color: var(--navy); font-size: 35px; font-weight: 950; letter-spacing: -.05em; }
.plan-price small { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.plan ul { margin: 0 0 25px; padding: 0; list-style: none; }
.plan li { position: relative; margin: 9px 0; padding-left: 23px; color: var(--muted); font-size: 13px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.plan .button { width: 100%; margin-top: auto; box-shadow: none; }

.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: center; }
.location-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 25px; box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 14px; margin-top: 25px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; }
.contact-line strong { color: var(--navy); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq summary { padding: 19px 48px 19px 20px; cursor: pointer; font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -29px; color: var(--orange); font-size: 22px; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.join { overflow: hidden; border-radius: 30px; background: linear-gradient(135deg, #14213d, #294675); box-shadow: var(--shadow); }
.join-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 50px; color: #fff; }
.join h2 { color: #fff; }
.join-copy p { color: #cbd5ea; }
.lead-form { padding: 26px; border-radius: 20px; color: var(--ink); background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cdd5e2; border-radius: 9px; color: var(--ink); background: #fff; }
.field textarea { min-height: 88px; resize: vertical; }
.lead-form .button { width: 100%; border: 0; }
.form-note { margin: 11px 0 0; color: #717b8e; font-size: 11px; text-align: center; }
.success { margin-bottom: 15px; padding: 12px 14px; border: 1px solid #95d8bd; border-radius: 10px; color: #126046; background: #e8f8f1; font-weight: 800; }

.page-hero { padding: 65px 0 52px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero h1 { max-width: 900px; font-size: clamp(39px, 5vw, 61px); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }
.breadcrumbs { margin-bottom: 16px; color: #778092; font-size: 12px; }
.page-shell { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 55px; padding: 58px 0 88px; align-items: start; }
.entry-content section { margin: 0 0 27px; padding: 28px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.entry-content section:first-child { padding: 0; border: 0; }
.entry-content h2 { margin-top: 1.15em; font-size: clamp(28px,3vw,39px); }
.entry-content section h2:first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: #3f4b62; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--paper); }
.side-card { position: sticky; top: 98px; padding: 23px; border-radius: 19px; color: #fff; background: var(--navy); }
.side-card h2 { color: #fff; font-size: 24px; }
.side-card p { color: #c8d1e5; font-size: 14px; }
.side-card .button { width: 100%; box-shadow: none; }
.side-links { margin: 19px 0 0; padding: 19px 0 0; border-top: 1px solid #415276; list-style: none; }
.side-links li + li { margin-top: 8px; }
.side-links a { color: #d3dcf0; font-size: 13px; }

.site-footer { padding: 55px 0 28px; color: #bdc7dc; background: #0d172c; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 44px; }
.site-footer .brand { color: #fff; }
.footer-about { max-width: 360px; font-size: 14px; }
.footer-title { margin: 0 0 13px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 7px; }
.footer-links a { color: #bdc7dc; font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 21px; border-top: 1px solid #2b3959; font-size: 11px; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 14px 20px 22px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 35px rgba(20,33,61,.1); }
  .nav.is-open { display: flex; }
  .nav .nav-cta { margin: 4px 0 0; text-align: center; }
  .hero-grid, .location-grid, .join-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(100%, 650px); }
  .plans { grid-template-columns: repeat(2,1fr); }
  .plan.featured { transform: none; }
  .page-shell { grid-template-columns: 1fr; }
  .side-card { position: relative; top: auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .hero { padding: 52px 0 55px; background: var(--paper); }
  h1 { font-size: clamp(40px,13vw,55px); }
  .actions, .actions .button { width: 100%; }
  .price-flag { right: -5px; }
  .proof-grid, .grid-2, .grid-3, .steps, .plans, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .join { border-radius: 22px; }
  .join-grid { padding: 27px 17px; gap: 27px; }
  .field.full { grid-column: auto; }
  .page-shell { padding-top: 38px; gap: 35px; }
  .entry-content section { padding: 20px; overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
