/* Culorile sunt luate din logo și din firma de pe clădire */
:root {
  --c-blue: #003492;      /* albastrul exact din logo */
  --c-blue-dark: #002670;
  --c-blue-deep: #001a4f;
  --c-red: #bd1134;       /* roșul exact din logo */
  --c-red-dark: #920722;
  --c-bg: #ffffff;
  --c-bg-alt: #e6eef5;    /* albastrul deschis al fațadei */
  --c-facade: #ced8e6;
  --c-text: #172033;
  --c-muted: #56617a;
  --c-border: #d5e0ea;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(15, 39, 102, .12);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "DM Serif Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--c-blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); font-weight: 400; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--c-blue-dark); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-blue); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--c-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--c-red); margin-bottom: .6em; }

/* Butoane */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, transform .1s; cursor: pointer; font-size: 1rem; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--c-red); color: #fff; }
.btn-red:hover { background: var(--c-red-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 8px 18px; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 3px solid var(--c-red); box-shadow: 0 4px 18px rgba(0, 38, 112, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-logo { height: 64px; width: auto; }
.brand-text { font-family: var(--font-head); font-size: 1.2rem; color: var(--c-blue-dark); margin: 0; line-height: 1.1; }
.brand-text strong { font-weight: 400; color: var(--c-blue); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--c-text); font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--c-blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-blue-dark); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero: albastru cu arc roșu, ca pe bannerul de Facebook */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1250c0 0%, var(--c-blue) 40%, var(--c-blue-deep) 100%); padding: 72px 0 88px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; background: var(--c-red); color: #fff; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; padding: 8px 16px; border-radius: 999px; margin-bottom: 20px; box-shadow: 0 6px 18px rgba(189,17,52,.4); }
.badge-soon svg { width: 18px; height: 18px; }
.hero-sub { font-size: 1.3rem; margin: 0; opacity: .95; }
.hero-big { font-size: 2rem; font-weight: 700; margin: 0 0 .6em; }
.hero-address { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; opacity: .95; }
.hero-address svg { width: 22px; height: 22px; color: var(--c-red); flex: none; filter: drop-shadow(0 0 1px #fff); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #b7c8e3, var(--c-facade)); border: 4px solid rgba(255,255,255,.9); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.hero-photo-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-photo-fallback img { width: 40%; max-width: 180px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.hero-photo.is-missing > img { display: none; }
.hero-swoosh { position: absolute; z-index: 1; left: -10%; right: -10%; bottom: -60px; height: 120px; background: #fff; border-top: 10px solid var(--c-red); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

/* Secțiuni */
.section { padding: 72px 0; }
.section-alt { background: var(--c-bg-alt); border-top: 1px solid #d6e0f0; border-bottom: 1px solid #d6e0f0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--c-muted); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-red); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--c-bg-alt); color: var(--c-blue); display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { color: var(--c-blue-dark); }
.card p { margin: 0; color: var(--c-muted); }

/* Despre */
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--c-blue); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; }
.stat:nth-child(2), .stat:nth-child(3) { background: var(--c-blue-dark); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 2.1rem; line-height: 1.1; }
.stat span { opacity: .85; font-size: .92rem; }

/* Galerie – slider */
.slider { position: relative; border-radius: 20px; overflow: hidden; background: var(--c-blue-deep); box-shadow: var(--shadow); }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 3px solid var(--c-red); outline-offset: -3px; }
.slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 16 / 9; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 44px; color: #fff; font-weight: 500; background: linear-gradient(transparent, rgba(0, 26, 79, .75)); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--c-blue); box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: background .2s, color .2s; }
.slider-btn:hover { background: var(--c-red); color: #fff; }
.slider-btn svg { width: 28px; height: 28px; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.55); transition: width .25s, background .25s; }
.slider-dots button[aria-selected="true"] { width: 28px; background: var(--c-red); }

/* Contact */
.contact-card { font-style: normal; background: #fff; border: 1px solid var(--c-border); border-left: 4px solid var(--c-blue); border-radius: var(--radius); padding: 26px; }
.contact-card strong { color: var(--c-blue-dark); }
.contact-card p { margin-bottom: 14px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--c-border); background: #fff; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--c-blue-deep); color: #d6ddef; padding: 44px 0 0; border-top: 6px solid var(--c-red); }
.site-footer .brand-text, .site-footer .brand-text strong { color: #fff; }
.site-footer .muted { color: #9eabcc; margin: 4px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 12px 18px; }
.footer-logo img { height: 56px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #d6ddef; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 72px; }
  .section { padding: 52px 0; }
  .header-inner { min-height: 72px; padding: 12px 0; }
  .brand-logo { height: 40px; }
  .slide { aspect-ratio: 4 / 3; }
  .slide figcaption { padding: 28px 16px 36px; font-size: .92rem; }
  .slider-btn { width: 40px; height: 40px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--c-border); display: none; padding-bottom: 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 16px; border-top: 1px solid var(--c-border); }
  .site-nav .btn { margin: 12px 16px 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Texte lungi (e-mail, linkuri) nu mai împing pagina în lateral */
.grid > * { min-width: 0; }
.contact-card a { overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-blue { background: var(--c-blue); color: #fff; }
.btn-blue:hover { background: var(--c-blue-dark); }
.contact-actions svg { width: 18px; height: 18px; flex: none; }

/* Telefon: aranjare dedicată */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 26px; }

  /* Sus: poza clădirii prima, apoi textul */
  .hero { padding: 20px 0 64px; }
  .hero-inner { gap: 22px; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; border-width: 3px; border-radius: 16px; }
  .badge-soon { font-size: .7rem; letter-spacing: .03em; padding: 7px 12px; gap: 6px; margin-bottom: 14px; white-space: nowrap; }
  .badge-soon svg { width: 15px; height: 15px; }
  .hero-sub { font-size: 1.1rem; }
  .hero-big { font-size: 1.7rem; margin-bottom: .4em; }
  .hero-address { font-size: .98rem; align-items: flex-start; }
  .hero-address svg { margin-top: 2px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .hero-actions .btn { justify-content: center; padding: 14px 20px; }
  .hero-swoosh { height: 70px; bottom: -36px; border-top-width: 7px; }

  /* Cifre: carduri mai compacte */
  .about-inner { gap: 28px; }
  .stats { gap: 10px; }
  .stat { padding: 16px 10px; border-radius: 12px; }
  .stat strong { font-size: 1.8rem; }
  .stat span { font-size: .85rem; line-height: 1.3; display: block; }

  /* Servicii: iconița în stânga textului */
  .grid-3 { gap: 14px; }
  .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .card-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .card h3 { margin-bottom: .25em; font-size: 1.08rem; }
  .card p { font-size: .95rem; }

  /* Galerie: slider pe toată lățimea ecranului */
  .slider { margin-inline: -16px; border-radius: 0; box-shadow: none; }
  .slide figcaption { padding: 28px 16px 34px; font-size: .9rem; }

  /* Contact */
  .contact-card { padding: 20px 18px; }
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .contact-actions .btn { justify-content: center; font-size: .95rem; padding: 13px 14px; }
  .map, .map iframe { min-height: 260px; }

  /* Subsol centrat */
  .site-footer { padding-top: 36px; text-align: center; }
  .footer-inner { flex-direction: column; align-items: center; gap: 20px; }
  .footer-brand { align-items: center; }
  .footer-logo { padding: 10px 16px; }
  .footer-logo img { height: 44px; }
  .footer-links { justify-content: center; gap: 8px 22px; }
  .footer-links a { padding: 6px 0; }
  .footer-bottom { margin-top: 22px; }
}
