/*
Theme Name: Coastal Integration
Theme URI: https://coastalorder.com/
Author: Coastal Integration
Description: Custom one-page business IT website for Coastal Integration / Coastal Order LLC.
Version: 1.0.0
Text Domain: coastal-integration
*/

:root {
  --ink: #071725;
  --ink-2: #0b2234;
  --ink-3: #123149;
  --paper: #f5f8f9;
  --white: #ffffff;
  --text: #193246;
  --muted: #657987;
  --line: #dbe4e8;
  --teal: #19b9a5;
  --teal-dark: #0d8f80;
  --teal-soft: #dff8f3;
  --cyan: #53d8c8;
  --shadow: 0 24px 70px rgba(3, 20, 31, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; background: white; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,23,37,.9);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; min-width: max-content; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); border-radius: 12px;
  font-weight: 800; font-size: 15px; letter-spacing: -.4px;
  background: linear-gradient(145deg, rgba(25,185,165,.23), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 14px; letter-spacing: 1.7px; }
.brand-copy small { margin-top: 5px; color: #9fb2bf; font-size: 10px; letter-spacing: .5px; }
.primary-nav { display: flex; align-items: center; gap: 26px; color: #c8d6de; font-size: 14px; font-weight: 600; }
.primary-nav a { transition: color .2s ease; }
.primary-nav a:hover { color: white; }
.primary-nav .nav-call { color: var(--ink); background: var(--cyan); padding: 10px 15px; border-radius: 10px; }
.primary-nav .nav-call:hover { color: var(--ink); background: #74e7da; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 25px; height: 2px; background: white; margin: 5px 0; display: block; }

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #06131f 0%, #0a2335 55%, #0a2e3d 100%);
  color: white; padding: 108px 0 94px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .45; pointer-events: none; }
.hero-glow-one { width: 480px; height: 480px; background: radial-gradient(circle, rgba(25,185,165,.32), transparent 67%); right: -100px; top: -100px; }
.hero-glow-two { width: 440px; height: 440px; background: radial-gradient(circle, rgba(72,138,194,.18), transparent 65%); left: 30%; bottom: -270px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 74px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: 1.8px; font-size: 12px; font-weight: 800; color: #9beee5; }
.eyebrow span { width: 28px; height: 2px; background: var(--teal); display: inline-block; }
.eyebrow.dark { color: var(--teal-dark); }
.eyebrow.light { color: #90e7dd; }
.hero h1 { margin: 18px 0 22px; max-width: 780px; font-size: clamp(46px, 5.6vw, 76px); line-height: .98; letter-spacing: -3.2px; font-weight: 760; }
.hero h1 em { font-style: normal; color: #8ce8dd; }
.hero-lead { max-width: 720px; color: #c3d2da; font-size: 19px; line-height: 1.62; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; padding: 0 20px; font-size: 14px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #031815; box-shadow: 0 12px 32px rgba(25,185,165,.2); }
.btn-primary:hover { background: #32c8b7; }
.btn-secondary { color: #eaf3f6; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.btn-secondary:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.33); }
.btn-dark { background: var(--ink); color: white; }
.btn.full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #8fa6b3; font-size: 12px; }
.trust-row b { color: #dfecef; font-weight: 700; }
.hero-panel {
  background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: 24px; padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.22); backdrop-filter: blur(14px);
}
.panel-kicker { color: #75dfd2; text-transform: uppercase; font-size: 11px; letter-spacing: 1.7px; font-weight: 800; }
.hero-panel h2 { font-size: 28px; line-height: 1.18; margin: 11px 0 25px; letter-spacing: -.7px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; color: #d5e2e8; font-size: 14px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li span { color: #72e0d3; font-weight: 900; }
.panel-footer { margin: 25px -32px -32px; padding: 18px 32px; border-top: 1px solid rgba(255,255,255,.09); color: #9db1bc; font-size: 12px; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #55e4a7; box-shadow: 0 0 0 5px rgba(85,228,167,.08); }

.problem-strip { background: white; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: 1fr 1fr; }
.strip-grid > div { padding: 22px 30px 22px 0; display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.strip-grid > div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.strip-grid strong { color: var(--ink); font-size: 14px; }
.strip-grid span { color: var(--muted); }

.section { padding: 100px 0; }
.section-heading { max-width: 730px; margin-bottom: 46px; }
.section-heading h2, .why h2, .projects h2, .service-area h2, .contact h2 { margin: 13px 0 16px; color: var(--ink); font-size: clamp(36px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -2px; }
.section-heading p { color: var(--muted); font-size: 17px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4d8dc; }
.service-card.featured { grid-row: span 2; background: var(--ink); color: white; border-color: var(--ink); }
.service-label { position: absolute; right: 22px; top: 22px; border: 1px solid rgba(255,255,255,.2); color: #91e7dd; border-radius: 999px; padding: 5px 9px; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-soft); margin-bottom: 22px; }
.icon-box svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.featured .icon-box { background: rgba(83,216,200,.12); color: #78e4d7; }
.service-card h3 { color: var(--ink); margin: 0 0 10px; font-size: 21px; letter-spacing: -.4px; }
.featured h3 { color: white; font-size: 28px; }
.service-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.featured p { color: #adbfca; font-size: 15px; }
.service-card ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; color: #516a7a; }
.service-card li { position: relative; padding-left: 16px; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.featured ul { color: #c4d1d8; }

.why { background: var(--ink); color: white; overflow: hidden; position: relative; }
.why::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -250px; top: -140px; background: radial-gradient(circle, rgba(25,185,165,.2), transparent 70%); }
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: center; }
.why h2 { color: white; }
.why-copy > p { color: #b2c2cb; font-size: 16px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: #7de4d8; font-weight: 800; font-size: 14px; margin-top: 10px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.why-points { border-top: 1px solid rgba(255,255,255,.12); }
.why-point { display: grid; grid-template-columns: 54px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.12); padding: 25px 0; }
.number { color: #5edccd; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.why-point h3 { margin: 0 0 4px; color: white; font-size: 18px; }
.why-point p { margin: 0; color: #96aab6; font-size: 13px; }

.projects { background: #eef4f5; }
.project-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; }
.project-card { background: white; border-radius: 24px; padding: 48px; border: 1px solid var(--line); }
.project-tag { display: inline-block; background: var(--teal-soft); color: var(--teal-dark); border-radius: 999px; padding: 7px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; }
.project-card h2 { margin-bottom: 12px; }
.project-card > p { color: var(--muted); max-width: 680px; }
.project-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.project-chips span { background: #f3f7f8; border: 1px solid #dde7e9; color: #486171; border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 700; }
.project-stat { background: linear-gradient(145deg, #0b2234, #0c3843); color: white; border-radius: 24px; padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.stat-ring { width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 0 0 12px rgba(255,255,255,.025); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 34px; color: #82e8dc; }
.stat-ring span { font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.stat-ring small { color: #78909e; }
.project-stat h3 { font-size: 24px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.6px; }
.project-stat p { color: #a7bbc5; margin: 0; font-size: 14px; }

.service-area { background: white; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.service-area h2 { font-size: clamp(34px, 4vw, 49px); }
.area-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px; }
.area-list span { border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; font-size: 12px; color: #536a79; background: #fbfcfc; }

.contact { background: #071725; color: white; padding-bottom: 105px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: center; }
.contact h2 { color: white; }
.contact-copy > p { color: #a8bac4; font-size: 16px; }
.contact-methods { display: grid; gap: 10px; margin: 30px 0 22px; }
.contact-methods a { display: flex; align-items: center; gap: 12px; color: white; }
.contact-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(83,216,200,.12); color: #78e4d7; font-weight: 900; }
.contact-methods span:last-child { display: flex; flex-direction: column; }
.contact-methods small { color: #8298a5; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.contact-methods strong { font-size: 14px; }
.license-line { font-size: 11px !important; color: #728894 !important; }
.contact-form-wrap { background: white; color: var(--text); border-radius: 24px; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.form-heading h3 { margin: 0 0 4px; color: var(--ink); font-size: 24px; }
.form-heading p { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.form-success { background: #e5f8f3; color: #0b6d61; border: 1px solid #bfeadf; border-radius: 10px; padding: 11px 13px; font-size: 13px; margin-bottom: 18px; }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-size: 11px; font-weight: 800; color: #435b6a; text-transform: uppercase; letter-spacing: .6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d7e2e6; border-radius: 10px; background: #f9fbfb; color: var(--ink); padding: 12px 13px; outline: none; text-transform: none; letter-spacing: normal; font-weight: 500; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,185,165,.1); }
.contact-form textarea { resize: vertical; min-height: 106px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-note { text-align: center; color: #82939d; font-size: 10px; margin: -2px 0 0; }

.site-footer { background: #04101a; color: #8ca1ad; padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .9fr; gap: 70px; }
.footer-brand { margin-bottom: 17px; }
.footer-grid > div:first-child > p { font-size: 13px; max-width: 390px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.footer-links strong { color: #dce8ec; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 45px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.footer-bottom a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 70px; background: #0a1f2e; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 17px; flex-direction: column; align-items: stretch; gap: 4px; display: none; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 11px 9px; }
  .primary-nav .nav-call { text-align: center; margin-top: 5px; }
  .menu-toggle { display: block; }
  .hero { padding: 80px 0 68px; }
  .hero-grid, .why-grid, .contact-grid, .area-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero h1 { max-width: 800px; }
  .hero-panel { max-width: 660px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-row: auto; grid-column: 1 / -1; }
  .project-grid { grid-template-columns: 1fr; }
  .project-stat { min-height: 380px; }
  .area-grid { gap: 25px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr .9fr; gap: 35px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height: 70px; }
  .brand-copy strong { font-size: 12px; letter-spacing: 1.25px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { padding-top: 66px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); letter-spacing: -2.4px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-row { flex-direction: column; gap: 6px; }
  .hero-panel { padding: 25px; }
  .panel-footer { margin: 23px -25px -25px; padding: 17px 25px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div { padding: 17px 0; flex-direction: column; gap: 1px; }
  .strip-grid > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section { padding: 74px 0; }
  .section-heading h2, .why h2, .projects h2, .service-area h2, .contact h2 { letter-spacing: -1.5px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: auto; }
  .project-card, .project-stat, .contact-form-wrap { padding: 27px; }
  .project-stat { min-height: auto; }
  .stat-ring { width: 145px; height: 145px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}
