/* Medina Enterprises site. Matches the Wix design that ran on www.medinallc.com through Nov 2026. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/fraunces.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter.woff2) format('woff2');
}

:root {
  --navy: #0c1622;
  --navy-2: #12263a;
  --cream: #fbf8f3;
  --sand: #f3ede3;
  --orange: #c8692a;
  --peach: #f5b98a;
  --muted: #5c6773;
  --hero-text: #d6dee8;
  --band-text: #b9c6d3;
  --label: #aebccb;
  --footer: #171717;
  --footer-small: #8b9aab;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--navy); background: #fff; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #116dff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 900px; max-width: calc(100% - 40px); margin: 0 auto; }

/* Header */
.site-header { background: #fff; height: 84px; position: relative; z-index: 20; }
.site-header .bar { width: 980px; max-width: calc(100% - 40px); margin: 0 auto; height: 84px; display: flex; align-items: center; }
.logo { display: block; margin-left: 7px; }
.logo img { width: 266px; height: 50px; }
.nav { margin-left: 23px; display: flex; }
.nav a { display: block; font: 600 13px/18.2px var(--sans); text-transform: uppercase; color: var(--navy); text-decoration: none; padding: 0 4px; margin-right: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.menu-btn { display: none; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 20px; min-width: 200px; border: 1px solid var(--orange); border-radius: 2px; background: var(--orange); color: #fff; font: 700 14px/1 var(--sans); text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #a9541f; border-color: #a9541f; }
.btn-lg { height: 54px; min-width: 220px; }
.btn-dark { background: var(--navy); border-color: var(--navy); }
.btn-dark:hover { background: #24364a; border-color: #24364a; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Shared type */
.eyebrow { font: 700 12px/1.4 var(--sans); letter-spacing: 2.4px; text-transform: uppercase; color: var(--orange); }
.on-dark .eyebrow { color: var(--peach); }
.h2 { font-size: 40px; line-height: 1.15; color: var(--navy); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.card h3, .h3 { font-size: 26px; line-height: 1.2; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.body { font-size: 16px; line-height: 1.55; color: var(--muted); }

section { position: relative; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy-2 { background: var(--navy-2); color: #fff; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.pad { padding: 64px 0; }
.pad-lg { padding: 84px 0; }

/* Home hero */
.hero { min-height: 480px; padding: 84px 0 34px; }
.hero h1 { font-size: 54px; line-height: 1.06; color: #fff; max-width: 820px; margin-top: 21px; }
.hero .intro { font-size: 18px; line-height: 1.1; color: var(--hero-text); max-width: 660px; margin-top: 32px; }
.hero .btns { margin-top: 56px; }
.banner { height: 260px; background: #000 url(/img/arizona-sunset.jpg) center bottom / cover no-repeat; }
@supports (background-image: image-set(url(a.webp) type('image/webp'))) {
  .banner { background-image: image-set(url(/img/arizona-sunset.webp) type('image/webp'), url(/img/arizona-sunset.jpg) type('image/jpeg')); }
}

/* Stats */
.stats { padding: 34px 0 36px; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat .num { font: 600 34px/1.1 var(--serif); color: #fff; }
.stat .lbl { font: 700 12px/1.25 var(--sans); letter-spacing: 1.44px; text-transform: uppercase; color: var(--label); margin-top: 12px; max-width: 190px; }

/* Section heads */
.head .h2 { margin-top: 10px; }
.head .lead { margin-top: 20px; max-width: 590px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 48px; }
.card picture img, .card > img { width: 100%; height: 210px; object-fit: cover; }
.card h3 { margin-top: 22px; }
.card p { margin-top: 12px; max-width: 250px; }
.after-cards { margin-top: 44px; }

/* NNN band */
.nnn { padding: 52px 0; }
.nnn .grid { display: grid; grid-template-columns: 240px 1fr; gap: 0 0; align-items: center; }
.nnn .big { font: 600 96px/1 var(--serif); color: var(--orange); }
.nnn h3 { color: #fff; font-size: 26px; }
.nnn p { color: var(--band-text); font-size: 16px; line-height: 1.55; margin-top: 10px; max-width: 520px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step .n { font: 600 60px/1 var(--serif); color: var(--orange); }
.step h3 { margin-top: 18px; font-size: 26px; min-height: 62px; }
.step p { margin-top: 12px; }

/* Two column */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.two .right > * + * { margin-top: 48px; }
.two .right .body { margin-top: 12px; }
.mt-lg { margin-top: 40px; }
.mt-md { margin-top: 24px; }

/* Portfolio */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 15px; margin-top: 56px; }
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; }
.gallery .wide { grid-column: span 2; }

/* CTA */
.cta { text-align: center; padding: 60px 0; }
.cta .h2 { color: #fff; font-size: 44px; margin-top: 12px; }
.cta p.sub { color: var(--band-text); font-size: 18px; max-width: 560px; margin: 20px auto 0; }
.cta .btn { margin-top: 40px; }

/* Inner page hero */
.page-hero { background: #000 url(/img/arizona-sunset.jpg) center top / 100% auto no-repeat; color: #fff; padding: 96px 0 58px; }
@supports (background-image: image-set(url(a.webp) type('image/webp'))) {
  .page-hero { background-image: image-set(url(/img/arizona-sunset.webp) type('image/webp'), url(/img/arizona-sunset.jpg) type('image/jpeg')); }
}
.page-hero h1 { font-size: 50px; line-height: 1.1; margin-top: 12px; }
.page-hero .intro { font-size: 18px; line-height: 1.5; color: var(--hero-text); max-width: 640px; margin-top: 18px; }
.page-hero.plain { background: var(--navy); padding: 96px 0 72px; }

/* Lists */
.criteria p { font-size: 14px; line-height: 1.5; color: var(--navy); }
.criteria p + p { margin-top: 12px; }
.criteria b { font-weight: 700; }
.plain-list p { font-size: 18px; line-height: 1.45; color: var(--navy); }
.plain-list p + p { margin-top: 18px; }
.faq { margin-top: 40px; }
.faq .q, .faq .a { font-size: 16px; line-height: 1.8; color: var(--navy); }
.faq .item + .item { margin-top: 28px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.values p { margin-top: 12px; }

/* Contact form */
.form-wrap { font-size: 14px; }
.form-wrap legend, .form-wrap .q { font-size: 16px; color: var(--navy); margin-bottom: 10px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios label { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--navy); margin: 0 0 8px; cursor: pointer; }
.radios input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 0; margin: 0; cursor: pointer; flex: none; }
.radios input:checked { background: #fff; border: 5px solid var(--navy); }
.radios input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 6px; }
.fg { display: flex; flex-direction: column; }
.fg.full { grid-column: 1 / -1; }
.fg label { font: 600 12px/1.4 var(--sans); color: var(--navy); margin-bottom: 6px; }
.fg input, .fg textarea { font: 400 16px/1.4 var(--sans); color: var(--navy); background: #fff; border: 1px solid #d8dde3; border-radius: 0; padding: 7px 10px; width: 100%; }
.fg input { height: 36px; }
.fg textarea { height: 104px; resize: vertical; }
.fg input:focus, .fg textarea:focus { outline: none; border-color: var(--navy); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts { margin-top: 14px; min-height: 0; }
.form-wrap .btn { margin-top: 14px; min-width: 200px; height: 44px; }
.msg { margin-top: 12px; font-size: 15px; }
.msg.ok { color: #1c6b37; }
.msg.err { color: #b3261e; }

/* Footer */
.site-footer { background: var(--footer); color: var(--label); padding: 28px 0 22px; }
.site-footer .grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.site-footer .flogo img { width: 146px; height: 52px; object-fit: contain; background: #fff; border-radius: 6px; }
.site-footer .tag { font-size: 14px; line-height: 1.3; margin-top: 10px; max-width: 270px; }
.site-footer nav { display: flex; gap: 6px 28px; flex-wrap: wrap; padding-top: 18px; margin-right: 34px; }
.site-footer nav a { font: 600 13px/18px var(--sans); text-transform: uppercase; text-decoration: none; color: var(--hero-text); }
.site-footer nav a:hover { color: var(--peach); }
.site-footer .copy { font-size: 14px; line-height: 1.65; color: var(--footer-small); margin-top: 14px; }

/* 404 */
.nf { padding: 120px 0; text-align: center; }

/* Mobile */
@media (max-width: 760px) {
  .wrap { max-width: calc(100% - 44px); }
  .site-header, .site-header .bar { height: 72px; }
  .site-header .bar { max-width: calc(100% - 32px); justify-content: space-between; }
  .logo { margin-left: 0; }
  .logo img { width: 202px; height: 38px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #1d1d1d; border: 0; border-radius: 3px; cursor: pointer; padding: 0; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; content: ''; }
  .menu-btn span::before { position: absolute; top: -6px; }
  .menu-btn span::after { position: absolute; top: 6px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; margin: 0; flex-direction: column; background: #fff; border-top: 1px solid #eee; box-shadow: 0 10px 20px rgba(0,0,0,.12); padding: 8px 0 14px; }
  .nav.open { display: flex; }
  .nav a { font-size: 15px; padding: 14px 24px; margin: 0; }

  .pad, .pad-lg { padding: 44px 0; }
  .hero { min-height: 0; padding: 26px 0 40px; }
  .hero .eyebrow { font-size: 13px; }
  .hero h1 { font-size: 30px; line-height: 1.1; margin-top: 14px; }
  .hero .intro { font-size: 18px; line-height: 1.3; margin-top: 12px; }
  .hero .btns { margin-top: 24px; flex-direction: column; align-items: center; gap: 12px; }
  .btn, .btn-lg { min-width: 200px; height: 44px; font-size: 13px; }
  .banner { height: 400px; background-position: 40% bottom; }
  .stats { padding: 22px 0; }
  .stats .grid { grid-template-columns: 1fr; gap: 10px; }
  .stat .num { font-size: 26px; }
  .stat .lbl { margin-top: 4px; max-width: none; }
  .h2, .cta .h2 { font-size: 24px; line-height: 1.2; }
  .head .h2 { margin-top: 8px; }
  .lead, .cta p.sub { font-size: 16px; line-height: 1.45; margin-top: 12px; }
  .head .lead { margin-top: 12px; }
  .cards { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .card picture, .card > img { display: block; width: 62%; margin: 0 auto; }
  .card picture img, .card > img { height: auto; aspect-ratio: 290 / 210; }
  .card h3, .h3 { font-size: 22px; }
  .card h3 { margin-top: 12px; }
  .card p { margin-top: 6px; max-width: none; font-size: 15px; }
  .after-cards { margin-top: 28px; display: flex; justify-content: center; }
  .nnn { padding: 32px 0; }
  .nnn .grid { grid-template-columns: 1fr; }
  .nnn .big { font-size: 40px; }
  .nnn h3 { font-size: 22px; margin-top: 6px; }
  .nnn p { font-size: 15px; }
  .steps, .values { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .step .n { font-size: 40px; }
  .step h3 { margin-top: 8px; min-height: 0; font-size: 22px; }
  .step p { margin-top: 8px; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .two .right > * + * { margin-top: 28px; }
  .btns.stack-sm { flex-direction: column; align-items: center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 12px; margin-top: 28px; }
  .gallery .wide { grid-column: auto; }
  .cta { padding: 48px 0; }
  .cta .btn { margin-top: 24px; }
  .page-hero { padding: 64px 0 36px; background-size: auto 100%; background-position: 40% top; }
  .page-hero.plain { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .intro { font-size: 16px; }
  .plain-list p { font-size: 16px; }
  .plain-list p + p { margin-top: 12px; }
  .faq .q, .faq .a { font-size: 15px; line-height: 1.6; }
  .fields { grid-template-columns: 1fr; }
  .form-wrap { margin-top: 8px; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .site-footer nav { margin-right: 0; padding-top: 0; }
  .center-sm { text-align: center; }
  .center-sm .btn { margin-left: auto; margin-right: auto; }
}

/* Inner pages run a little tighter than the home page on the Wix site. */
@media (min-width: 761px) {
  .page-hero { padding: 88px 0 42px; }
  .page-hero ~ .cta { padding: 41px 0; }
  .page-hero ~ .nnn { padding: 45px 0; }
}
@media (min-width: 761px) {
  section[style*="--h"] { min-height: var(--h); }
}
@media (min-width: 761px) {
  .cta[style*="--h"], .nnn[style*="--h"], .stats[style*="--h"] { display: flex; flex-direction: column; justify-content: center; padding-top: 0; padding-bottom: 0; }
  .cta[style*="--h"] > .wrap, .nnn[style*="--h"] > .wrap, .stats[style*="--h"] > .wrap { width: 900px; }
}
