/* dariasons.com — static rebuild (2026-08). Design tokens lifted from the
   original Elementor build: dark navy scale + signature green accent. */

:root {
  --navy-950: #0e1229;
  --navy-900: #22284a;
  --navy-800: #232842;
  --navy-700: #343a5a;
  --accent: #01ff8b;
  --accent-dark: #00c96e;
  --ink: #333333;
  --muted: #676766;
  --soft: #f0f4fa;
  --soft-2: #f5f7f4;
  --white: #ffffff;
  --font-head: "Archivo", "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--navy-900); margin-bottom: 1rem; }

.section { padding: 5rem 0; }
.section-alt { background: var(--soft); }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--accent);
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-accent { background: var(--accent); color: var(--navy-950); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(14, 18, 41, 0.92);
  backdrop-filter: blur(8px);
  transition: background 0.25s;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }

.brand-text {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  padding-left: 13px;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.465rem;
  font-weight: 400;
  letter-spacing: 0.345em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 3px;
  white-space: nowrap;
}

.main-nav { margin-left: auto; }

.main-nav ul { list-style: none; display: flex; gap: 1.6rem; }

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--accent); }

.caret { font-size: 0.7em; opacity: 0.7; }

.has-sub { position: relative; }

.has-sub .sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  flex-direction: column;
  gap: 0;
  background: var(--navy-900);
  min-width: 230px;
  padding: 0.5rem 0;
  border-radius: 4px;
  border-top: 2px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-sub .sub a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 34px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  margin: 0 auto;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950) url("/img/hero-fallback.jpg") center/cover no-repeat;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;      /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh;  /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-media.playing iframe { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(14, 18, 41, 0.72) 0%, rgba(14, 18, 41, 0.35) 60%, rgba(14, 18, 41, 0.55) 100%);
}

.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 17ch;
  letter-spacing: 0.01em;
}

.hero .accent { color: var(--accent); }

.hero-sub {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  margin-top: 1.2rem;
}

.hero-bar {
  display: block;
  width: 280px;
  max-width: 60%;
  height: 6px;
  background: var(--accent);
  margin-top: 0.9rem;
}

/* ---------- features strip ---------- */

.features { background: var(--white); position: relative; z-index: 3; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: -3.2rem;
  margin-bottom: 3rem;
}

.feature {
  background: var(--white);
  box-shadow: 0 12px 40px rgba(14, 18, 41, 0.10);
  border-radius: 6px;
  padding: 1.8rem 1.4rem;
  text-align: center;
}

.feature-icon { width: 44px; height: 44px; margin: 0 auto 0.8rem; color: var(--accent-dark); }
.feature-icon svg { width: 100%; height: 100%; }

.feature h3 { font-size: 1.02rem; color: var(--navy-900); margin-bottom: 0.3rem; }
.feature p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

.feature-highlight { background: var(--accent); }
.feature-highlight .feature-icon,
.feature-highlight h3 { color: var(--navy-950); }
.feature-highlight p { color: var(--navy-900); }

/* ---------- split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-text p { margin-bottom: 1rem; color: var(--muted); }

.split-media img { border-radius: 8px; box-shadow: 0 16px 48px rgba(14, 18, 41, 0.16); }

.about-photos { display: grid; gap: 1.2rem; }

.about-photos img:last-child {
  width: 78%;
  justify-self: end;
  margin-top: -3.5rem;
  border: 6px solid var(--white);
}

/* ---------- services ---------- */

.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-intro { color: var(--muted); }

.services-banner {
  background: var(--accent);
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.services-banner p {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-950);
  text-align: center;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #e8ecf4;
  border-radius: 8px;
  padding: 2.2rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 16px 44px rgba(14, 18, 41, 0.12);
  transform: translateY(-3px);
}

.service-card img { width: 190px; margin: 0 auto 1.2rem; }

.service-card h3 { color: var(--navy-900); font-size: 1.25rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--muted); font-size: 0.93rem; text-align: left; }

.service-card-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  text-align: left;
}

.service-card-wide img { width: 190px; margin: 0; flex-shrink: 0; }

/* ---------- logo rows ---------- */

.logos { padding: 3.2rem 0; }

.logos-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-900);
  text-align: center;
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}

.logos-row img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: 0.9;
  transition: filter 0.2s, opacity 0.2s;
}

.logos-row img:hover { filter: none; opacity: 1; }

/* ---------- contact ---------- */

.contact { background: var(--navy-800); }

.contact .tag { background: var(--accent); }
.contact h2 { color: var(--white); }
.contact .section-intro { color: #c6cadb; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-map {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 8px;
  margin-bottom: 1.4rem;
}

.hq-note { color: var(--white); margin-bottom: 1rem; }

.ops-label {
  color: #c6cadb;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.ops-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.ops-tags li {
  background: var(--accent);
  color: var(--navy-950);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 3px;
}

.contact-lines p {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.contact-label {
  color: #9aa0bd;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 72px;
}

.contact-lines a { color: var(--white); text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--accent); }

.contact-form { display: grid; gap: 0.9rem; }

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  width: 100%;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(1, 255, 139, 0.25);
}

.contact-form .btn { justify-self: start; padding: 0.85rem 3rem; }

.hp-field { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }

/* ---------- footer ---------- */

.site-footer {
  background:
    linear-gradient(rgba(10, 12, 24, 0.92), rgba(10, 12, 24, 0.92)),
    url("/img/footer-atms.jpg") center/cover no-repeat;
  color: var(--white);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 3rem 0 2.2rem;
}

.footer-brand .brand-mark { width: 46px; height: 46px; }
.footer-brand .brand-name { font-size: 1.7rem; }
.footer-brand .brand-tagline { font-size: 0.51rem; }

.footer-contact { display: grid; gap: 0.3rem; text-align: right; }
.footer-contact a { color: var(--white); text-decoration: none; font-size: 0.95rem; }
.footer-contact a:hover { color: var(--accent); }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #b7bccf;
}

.footer-bar a { color: var(--accent); text-decoration: none; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .split-reverse .split-media { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-wide { flex-direction: column; text-align: center; }
  .header-cta { display: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; margin-left: auto; flex-shrink: 0; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    background: var(--navy-950);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.8rem 0; }
  .main-nav ul li a { display: block; padding: 0.7rem 6%; }
  .has-sub .sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.04);
    border-top: 0;
    min-width: 0;
    display: none;
  }
  .has-sub.open .sub { display: block; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .header-inner { gap: 1rem; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text { padding-left: 10px; }
  .brand-name { font-size: 1.15rem; }
  .brand-tagline { font-size: 0.36rem; letter-spacing: 0.24em; }
  .features-grid { grid-template-columns: 1fr; margin-top: -2rem; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: 80vh; }
  .about-photos img:last-child { margin-top: -2rem; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-contact { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
