@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Inter:wght@300;400;600;700&display=swap');

/* =========================
   1) Variabile & bază
   ========================= */
:root {
  --logo-bottom: -120px;
  --logo-right-nudge: -12px;
  --bg: #16323c;
  --panel: #1d3f4be6;
  --panel-soft: #224a58cc;
  --text: #f3f8fa;
  --muted: #c0d1d6;
  --primary: #e2c483;
  --primary-2: #4fb0c6;
  --accent: #7ec69a;
  --danger: #d46a6a;
  --ring: #ffffff26;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);

  --p-min: 1.08rem;
  --p-max: 1.30rem;
  --p-line: 1.85;

  --hdr-h: 72px; /* înălțimea headerului */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body.page-contact {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto;
  color: var(--text);
  background:
    radial-gradient(1400px 900px at 0% -10%, #205063 0%, transparent 70%),
    radial-gradient(1200px 800px at 120% 20%, #183a45 0%, transparent 65%),
    linear-gradient(180deg, #16323c, #0f242c);
  min-height: 100vh;
  line-height: 1.65;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   2) Header + nav
   ========================= */
header.site-header {
  position: sticky;
  top: 1px; /* mic spațiu sus identic cu style.css */
  z-index: 999;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(15,19,24,.85), rgba(15,19,24,.55));
  border-bottom: 1px solid #ffffff14;
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
}

/* Nav bar (desktop) */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0; /* identic cu style.css */
}

nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  transition: .2s ease;
  font-weight: 600;
  font-size: .95rem;
}

nav a:hover {
  background: #ffffff10;
  transform: translateY(-2px);
}

/* CTA */
.cta {
  color: #1a1f25;
  background: linear-gradient(90deg, #e2c483, #b8944b);
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(226,196,131,.18),
              0 6px 18px rgba(184,148,75,.15);
}
.cta:hover {
  background: linear-gradient(90deg, #f3da9a, #caa24c);
  box-shadow: 0 12px 28px rgba(226,196,131,.25),
              0 8px 20px rgba(184,148,75,.2);
  color: #0e1217;
}

/* ascundem brandul text din header – titlul e sub header */
.site-header .brand { display: none !important; }

/* ===== Logo colț (mobil) ===== */
.corner-logo { display: none; }
.corner-logo img{
  width: 40px; height: 40px; object-fit: contain;
  border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* =========================
   3) Titlul site-ului sub header
   ========================= */
.site-title{
  display:flex; align-items:center; justify-content:center;
  gap:14px; margin:30px auto 20px; text-align:center;
}
.site-title img{
  width:64px; height:64px; object-fit:contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));
}
.site-title span{
  font-family:'Poppins',sans-serif; font-weight:900;
  font-size:clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  letter-spacing:.5px;
  background: linear-gradient(90deg,#f3e3b8,#e2c483,#caa24c);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 2px 6px rgba(0,0,0,.25);
}

/* =========================
   4) Hero contact
   ========================= */
.hero {
  padding: 64px 0 28px;
  border-bottom: 1px solid #ffffff14;
  text-align: center;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 6.2vw, 62px);
  background: linear-gradient(90deg, #f3e3b8, #c9d6e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 10px;
}
.hero .lead {
  font-size: clamp(1.12rem, 2.3vw, 1.35rem);
  opacity: .92;
}

/* =========================
   5) Contact grid, formular & info
   ========================= */
.section { padding: 70px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-form,
.contact-info {
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid #ffffff22;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form h2,
.contact-info h2 {
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
}

label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ffffff33;
  background: #0f242c;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--primary-2);
}

input::placeholder,
textarea::placeholder {
  color: #a7b8bf;
  opacity: .95;
}

/* buton Trimite */
.btn.primary,
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  color: #1a1f25;
  background: linear-gradient(90deg, var(--primary), #caa24c);
  box-shadow: 0 12px 30px rgba(226,196,131,.22),
              0 8px 22px rgba(0,0,0,.25);
  transition: .2s ease;
}
.btn.primary:hover,
.contact-form button[type="submit"]:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #f3da9a, #caa24c);
  box-shadow: 0 16px 36px rgba(226,196,131,.28),
              0 10px 26px rgba(0,0,0,.28);
}

/* linkuri frumoase în info */
.contact-info p { margin: 10px 0; }
.contact-info a,
.contact-info a:visited { color: var(--text); text-decoration: none; }

.contact-info a[href^="mailto:"],
.contact-info a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff12;
  border: 1px solid #ffffff1f;
  font-weight: 700;
  opacity: .95;
  transition: .2s ease;
}
.contact-info a[href^="mailto:"]:hover,
.contact-info a[href^="tel:"]:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* =========================
   6) Footer premium
   ========================= */
.footer { padding: 0; background: transparent; border-top: none; }
.footer-premium {
  padding: 50px 0 30px;
  background: linear-gradient(180deg, rgba(15,19,24,.35), rgba(15,19,24,.85));
  border-top: 1px solid #ffffff14;
  color: var(--text);
  text-align: center;
}
.footer-title {
  margin: 0 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 1.28rem; font-weight: 900; color: var(--primary);
}
.brand-logo-inline {
  width: 28px; height: 28px; border-radius: 8px; object-fit: contain;
  background: #0f1318; box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.footer-brand { margin-bottom: 22px; }
.footer-brand .mini { margin: 2px 0 0; opacity: .8; }

.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 16px; margin-bottom: 20px;
}
.footer-nav a {
  font-weight: 600; font-size: .95rem; color: var(--text);
  opacity: .85; text-decoration: none; transition: .2s;
}
.footer-nav a:hover { opacity: 1; color: var(--primary); }

.footer-bottom {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center;
}
.footer-bottom .contact a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 999px; font-weight: 800;
  color: #1a1f25;
  background: linear-gradient(90deg, var(--primary), #caa24c);
  box-shadow: 0 10px 24px rgba(226,196,131,.20);
  transition: .2s ease;
}
.footer-bottom .social {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-weight: 700;
}
.footer-bottom .social a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; border-radius: 999px;
  background: #ffffff12; border: 1px solid #ffffff1f;
  opacity: .9; transition: .2s ease; color: var(--text);
}
.footer-bottom .social a:hover {
  opacity: 1; color: #e2c483; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.footer-bottom .mini { margin-top: 6px; opacity: .6; font-size: .85rem; }

/* =========================
   7) Responsive – Hamburger identic cu style.css
   ========================= */
#nav-toggle{
  position:absolute;
  width:1px; height:1px;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0; padding:0; margin:-1px;
  opacity:0; pointer-events:none;
}
.hamburger{ display:none; }

@media (max-width:980px){
  header.site-header{
    background:transparent !important;
    border-bottom:none !important;
    box-shadow:none !important;
  }
  .nav{ padding:0 !important; min-height:0; }

  .hamburger{
    --bar-w:24px; --bar-h:2px; --gap:6px;
    position:fixed !important; right:12px; top:12px;
    z-index:2147483003;
    display:inline-flex; width:44px; height:44px;
    align-items:center; justify-content:center;
    border-radius:12px; background:var(--panel);
    border:1px solid rgba(226,196,131,.35);
    box-shadow:0 6px 18px rgba(0,0,0,.25);
    cursor:pointer; transition: transform .2s ease;
  }
  .hamburger::before, .hamburger::after, .hamburger span{
    content:""; display:block; width:var(--bar-w); height:var(--bar-h);
    background:var(--primary); border-radius:2px;
    transition:transform .28s ease, opacity .2s ease;
  }
  .hamburger span{ margin: var(--gap) 0; }
  .hamburger::before{ transform: translateY(calc(-1 * (var(--gap) + var(--bar-h)))); }
  .hamburger::after{ transform: translateY(calc(var(--gap) + var(--bar-h))); }

  .corner-logo{ display:inline-flex; position:fixed; left:12px; top:12px; z-index:2147483003; }

  nav{
    position:fixed; top:0; right:-100%; bottom:0;
    width:min(86vw,420px); height:100svh; min-height:100vh;
    background:#0f1c22 !important;
    box-shadow:-16px 0 44px rgba(0,0,0,.65);
    padding:calc(env(safe-area-inset-top,0px) + 76px) 18px 24px;
    display:flex; flex-direction:column; gap:12px;
    z-index:2147483001; overflow-y:auto; -webkit-overflow-scrolling:touch;
    transition:right .32s cubic-bezier(.2,.8,.2,1);
  }

  nav ul{ display:grid; gap:12px; margin:0; padding:0; list-style:none; }
  nav a{
    display:block; padding:16px; border-radius:14px;
    background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
    color:var(--text); font-weight:600; text-decoration:none;
  }
  nav a.cta{
    background:linear-gradient(90deg,#e2c483,#b8944b) !important;
    border:0 !important; color:#1a1f25 !important;
    box-shadow:0 10px 28px rgba(226,196,131,.18),
               0 6px 18px rgba(184,148,75,.15) !important;
  }

  #nav-toggle:checked ~ label.hamburger::before{ transform: rotate(45deg); }
  #nav-toggle:checked ~ label.hamburger span{ opacity:0; transform: translateX(8px); }
  #nav-toggle:checked ~ label.hamburger::after{ transform: rotate(-45deg); }
  #nav-toggle:checked ~ nav{ right:0; }
  #nav-toggle:checked ~ nav::before{
    content:""; position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:-1;
  }
  body:has(#nav-toggle:checked){ overflow:hidden; touch-action:none; }

  .site-title img{ display:none; }
  .site-title{ margin:48px auto 16px !important; padding-top:8px; }
  .footer-nav{ display:none !important; }
}
