/* iordache-trad.ro — near-identical match to live Helix / SP Page Builder */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Inter-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/SpaceGrotesk-2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/SpaceGrotesk-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #169e3a;
  --green-accent: #009e3b;
  --green-muted: rgba(22, 158, 58, 0.8);
  --paper: #ebe9e2;
  --white: #ffffff;
  --line: #d5d7e0;
  --line-gray: #cccccc;
  --footer-text: #ebe9e2;
  --footer-link: #d9cfad;
  --ink: #000000;
  --max: 1630px;
  --font: "Inter", sans-serif;
  --display: "Space Grotesk", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.56;
  color: var(--green);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green); opacity: .9; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--white); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(100% - 30px, var(--max));
  margin-inline: auto;
}

/* ——— Header chrome (exact stack) ——— */
.site-header {
  background: var(--paper);
  position: relative;
  z-index: 50;
}
.top-topline { background: var(--paper); }
.top-topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 8px 0;
}
.tagline {
  margin: 0;
  font-size: 14px;
  color: var(--green);
}
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang a {
  display: inline-block;
  padding: 0 5px 3px;
  border-radius: 3px;
  background: rgba(130, 130, 130, 0.5);
}
.lang img { display: block; }

.topbar {
  background: var(--paper);
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 12.6px;
  color: var(--green);
}
.social {
  display: flex;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--green);
}
.social a:hover { color: var(--green); }

.navbar { background: var(--paper); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
  padding: .25rem 0 .5rem;
  position: relative;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green);
  margin: 5px 0;
}
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--green-muted);
  text-decoration: none;
  border: 0;
  padding: 0 20px;
}
.site-nav > ul > li:last-child > a { padding-right: 0; }
.site-nav > ul > li.is-active > a,
.site-nav > ul > li > a[aria-current="page"],
.site-nav > ul > li > a:hover {
  color: var(--green);
}
.caret {
  display: inline-block;
  width: 0; height: 0;
  margin-left: .15rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  list-style: none;
  margin: 0;
  padding: 20px;
  z-index: 30;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { display: block; }
.submenu a {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  padding: 8px 0;
}

/* ——— Typography helpers ——— */
.h2, h1.cine-sunt-title {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.25;
}
.h3 {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green);
  margin: 0 0 .6em;
}
.h4 {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green);
  margin: 0 0 .55em;
}
.h5 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
  margin: 0 0 .75em;
}
.section { padding: 75px 0; }
.section-sm { padding: 50px 0; }
.section-tight-top { padding-top: 50px; }
.section-tight-bottom { padding-bottom: 50px; }
.text-center { text-align: center; }
.divider-strong {
  border: 0;
  border-bottom: 3px solid var(--green-accent);
  margin: 30px auto;
  width: min(100% - 30px, var(--max));
}
.divider-weak {
  border: 0;
  border-bottom: 1px solid var(--line-gray);
  margin: 30px auto;
  width: min(100% - 30px, var(--max));
  max-width: 52rem;
}

/* ——— Home ——— */
.hero {
  width: 100%;
  line-height: 0;
  background: #ddd;
}
.hero img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: cover;
  object-position: center;
}
.hero-parallax {
  background-image: image-set(
    url("/images/hero-bg.webp") type("image/webp"),
    url("/images/hero-bg.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 75px 0 650px;
  min-height: 420px;
}
.intro-lead.h5 {
  max-width: 52rem;
  margin-bottom: 0;
}

.accordion {
  display: grid;
  gap: 10px;
  max-width: 52rem;
}
.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.acc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 10px 30px 10px 15px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::before {
  content: "";
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #111;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.acc-item[open] summary::before { transform: rotate(180deg); }
.acc-body {
  padding: 15px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 18px;
  line-height: 1.56;
}
.acc-body p { margin: 0; }

.about-split {
  display: grid;
  grid-template-columns: 32.27% 1fr;
  gap: 2rem;
  align-items: start;
}
.about-split img { width: 100%; max-width: 500px; }
.about-copy.h4 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 48px);
}

.langs { text-align: center; }
.langs .h4 { margin-bottom: .25em; }
.lang-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  color: var(--green);
  line-height: 1.25;
}
.langs p { margin: .4rem 0; font-size: 18px; }
.office-photo { margin: 0 auto; }
.office-photo img { width: 100%; }

/* ——— Expertiză ——— */
.cine-sunt {
  background: var(--green);
  color: var(--paper);
  padding: 104px 0 50px;
  text-align: center;
}
.cine-sunt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
.cine-sunt-title {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 72px);
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.cine-sunt-photo { margin: 0; width: min(100%, 300px); }
.cine-sunt-photo img { width: 100%; }
.cine-sunt-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 18px;
  line-height: 1.56;
  color: #fff;
  font-weight: 400;
  font-family: var(--font);
}
.expertiza-cols {
  display: grid;
  grid-template-columns: 54% 1fr;
  gap: 2rem;
  align-items: start;
}
.expertiza-cols .h3 { font-size: clamp(2rem, 4vw, 80px); margin-top: 0; }
.cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}
.cert-list li { margin: .35rem 0; }
.content-photo {
  margin: 0 auto 1.25rem;
  max-width: 785px;
}
.content-photo img { width: 100%; }
.prose { color: var(--green); }
.prose p { margin: 0 0 1rem; }
.prose .lead.h5 { margin-bottom: 1rem; }

/* ——— Servicii ——— */
.split-image-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.split-image-content .split-media {
  background-size: cover;
  background-position: 50% 50%;
  min-height: 360px;
}
.split-image-content .split-copy {
  padding: 120px 30px 120px 50px;
}
.domain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}
.domain-list li::before { content: "· "; }
.domain-list li { margin: .25rem 0; }

.service-hero-img {
  max-width: 1000px;
  margin: 0 auto 2rem;
}
.service-hero-img img { width: 100%; }
.split-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.split-50 img { width: 100%; }

/* ——— Cotație ——— */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.quote-col .h5 { color: var(--green); }
.quote-col ul {
  margin: 0;
  padding-left: 1.1rem;
}
.quote-col li { margin: .35rem 0; }
.cotatie-photo {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cotatie-photo img { width: 100%; margin-inline: auto; }

/* ——— Contact ——— */
.contact-page { padding: 50px 0 100px; }
.contact-page .h4 { margin-bottom: .35em; }
.contact-page .contact-email {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  color: var(--green);
  margin: 0 0 .5rem;
}
.contact-page .contact-addr {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 .75rem;
}
.contact-page .contact-phone {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.contact-page .contact-phone a { color: var(--green); }

/* ——— Footer ——— */
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 20px 0 0;
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 30px;
}
.footer-map {
  background: rgba(0,0,0,.12);
  min-height: 400px;
}
.footer-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
.footer-contact { color: var(--footer-text); }
.footer-contact p { margin: .35rem 0; font-size: 16px; color: var(--footer-text); }
.footer-heading { font-weight: 700; margin-top: 0 !important; }
.footer-name { font-weight: 700; }
.footer-contact a { color: var(--footer-link); }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-credit { margin-top: 1rem !important; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .25);
  padding: .85rem 0 1.25rem;
  font-size: .9rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}
.footer-bottom p { margin: 0; color: #fff; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { text-decoration: underline; }
.faq-section { padding-top: 40px; }
.faq-accordion { max-width: 52rem; margin-inline: auto; }
.faq-accordion .acc-item summary {
  text-transform: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}
.faq-accordion .acc-item summary::before { border-top-color: var(--green); }

.map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  min-height: 400px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(160deg, #1a7a35 0%, #0f5c28 100%);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.5rem;
}
.map-facade:hover { filter: brightness(1.05); }
.map-facade-sub { font-family: var(--font); font-weight: 400; font-size: .9rem; opacity: .9; }

/* ——— Responsive ——— */
@media (max-width: 991px) {
  body { font-size: 16px; }
  .h3 { font-size: 30px; }
  .h4 { font-size: 20px; }
  .h5 { font-size: 26px; }
  .cine-sunt-title { font-size: 40px; }
  .lang-list { font-size: 26px; }
  .site-nav > ul > li > a { font-size: 16px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
  .hero img { max-height: 42vh; }
  .hero-parallax {
    background-attachment: scroll;
    padding: 50px 50px 79px;
    min-height: 280px;
  }
  .about-split,
  .expertiza-cols,
  .split-image-content,
  .split-50,
  .quote-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .split-image-content .split-copy { padding: 40px 20px; }
  .footer-map iframe,
  .map-facade { height: 260px; min-height: 260px; }
  .nav-toggle {
    display: block;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
  }
  .site-header { position: sticky; top: 0; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .75rem 1rem 1.25rem;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
  .site-nav.is-open { display: block; }
  body.nav-open { overflow: hidden; }
  .site-nav > ul { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .site-nav > ul > li > a { padding: .55rem 0; width: 100%; }
  .submenu {
    position: static;
    display: block;
    box-shadow: none;
    padding: .2rem 0 .2rem .8rem;
    min-width: 0;
    background: transparent;
  }
  .has-sub > a .caret { display: none; }
  .top-topline-inner,
  .topbar-inner { gap: .65rem; }
  .tagline { font-size: 12px; line-height: 1.35; max-width: 70%; }
}

@media (max-width: 767px) {
  body { font-size: 14px; overflow-x: hidden; }
  .wrap { width: min(100% - 24px, var(--max)); }
  .h3 { font-size: 22px; }
  .h4 { font-size: 18px; }
  .h5, .intro-lead.h5 { font-size: 18px; line-height: 1.4; }
  .about-copy.h4 { font-size: 18px; }
  .cine-sunt { padding: 48px 0 36px; }
  .cine-sunt-title { font-size: 28px; }
  .lang-list { font-size: 18px; gap: .35rem .85rem; }
  .section { padding: 40px 0; }
  .section-sm { padding: 28px 0; }
  .anpc img { width: 160px; }
  .contact-page .contact-addr,
  .contact-page .contact-phone { font-size: 20px; }
  .contact-page { padding: 36px 0 60px; }
  .social a { width: 40px; height: 40px; }
  .acc-item summary { min-height: 44px; padding-right: 2rem; }
  .divider-strong, .divider-weak { margin: 20px auto; }
  .hero { margin: 0; }
  .hero img { max-height: 36vh; width: 100%; object-fit: cover; object-position: center; }
  .topbar-phone { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-contact a { word-break: break-word; }
  .footer-main { gap: 1.25rem; padding-bottom: 1.5rem; }
  .quote-grid { gap: 1.5rem; }
  .site-header {
    padding-top: env(safe-area-inset-top, 0);
  }
  .footer-bottom {
    padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 480px) {
  .tagline { font-size: 11px; max-width: 65%; }
  .lang img { width: 16px; height: 11px; }
  .topbar-phone { font-size: 13px; }
  .intro-lead.h5 { font-size: 16px; }
  .cine-sunt-title { font-size: 24px; }
}
