/* ================= psi.css — layout alternant stânga/dreapta, corect pe mobil ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Lora:wght@600;700&display=swap');

/* Reset + fără scroll orizontal */
*,*::before,*::after{box-sizing:border-box}
html,body{
  margin:0;padding:0;min-height:100%;
  width:100%;max-width:100%;
  overflow-x:hidden;background:#000; /* cer negru în jurul secțiunilor */
}
img,video,canvas,iframe{display:block;max-width:100%;height:auto}

/* Paletă + tipografie */
:root{
  --bg1:#73AAF0; --bg2:#2780F5; --bg3:#B2CCED;
  --surface:#ffffff;
  --text:#182920; --muted:#4a6b59;
  --accent:#1e9b5f; --accent-ink:#ffffff;
  --line:#B2CCED; --ring:#B2CCED;
  --shadow-md:0 12px 30px rgba(24,41,32,.12);

  --font-sans:"Inter",system-ui,sans-serif;
  --font-serif:"Lora",serif;

  --fs-sm:13px; --fs-md:15px; --fs-lg:clamp(17px,2vw,19px);
  --fs-xl:clamp(22px,3vw,28px); --fs-2xl:clamp(30px,4.5vw,44px);
}

/* Fundal 3D sub tot */
html,body{
  margin:0;
  padding:0;
  min-height:100%;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  background:#000;   /* fallback negru când WebGL nu pornește */
}
#bg3d{
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  z-index:0;          /* nu -1, altfel poate fi ascuns */
  pointer-events:none;
}
/* Banner orientativ */
.notice{position:sticky;top:0;z-index:4;background:rgba(232,251,239,.9);border-bottom:1px solid var(--line)}
.notice p{margin:0;padding:8px 14px;font-size:12px;color:white}

/* Header */
.site-header{
  position:sticky;z-index:3;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 14px;
  border-top:1px solid white;
}
.brand-vertical{display:flex;flex-direction:column;align-items:center; gap:4px;}

.brand-name{font-weight:800;padding: 10px; letter-spacing:.14em;font-size:21px;text-transform:uppercase;color:white}
.logo{
  pad: 20px;
  border-radius: 90px;
}
.nav{display:flex;gap:8px;padding: 20px;background:transparent;font-display: uppercase; border-bottom: 1px solid black;  flex-wrap:wrap}
.nav a{
   transition: all 0.5s ease;
  text-decoration:none;color:white;font-weight:600;font-size:20px;font-display: uppercase;
  padding:8px 12px;border-radius:9px;background: transparent; border-bottom: 1px solid white;
}
.nav a:hover{background:#3880D9;
  transform: scale(1.06);
}
.menu-btn{display:none}
.cta-header{text-decoration:none; font-weight:700;background:var(--accent);color:#fff;padding:8px 12px;border-radius:10px;box-shadow:var(--shadow-md);white-space:nowrap}

/* Meniu mobil */
.mobile-menu[aria-hidden="true"]{display:none}
.mobile-menu[aria-hidden="false"]{
  position:fixed;inset:0;z-index:10;background:rgba(0,0,0,.28);
  display:grid;place-items:center
}
.mobile-sheet{width:min(92vw,380px);background:#fff;border-radius:14px;padding:16px;box-shadow:var(--shadow-md);display:grid;gap:8px}
.mobile-sheet a{text-decoration:none;color:var(--text);padding:10px;border-radius:10px;border:1px solid var(--line)}
.mobile-close{justify-self:end;border:0;background:#eef6;width:34px;height:34px;border-radius:10px;cursor:pointer}
.cta-mobile{background:var(--accent);color:#fff;text-align:center}

/* HERO */
.hero{padding:22px 14px 16px; }
.hero-inner{ padding: 20px; background:transparent;
  margin:0 auto;border-radius: 10px;
  display:center;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center
}
.hero h1{  transition: all 1.5s ease;  font-family:var(--font-serif);text-transform: uppercase; text-shadow: 2px 2px #20589E; letter-spacing: 3px;; font-size:70px;line-height:1.1;margin:20px 0 8px;text-align:center;color:white}
.hero h1:hover{
  transform: scale(1.5);
}
.hero .sub{margin:0 0 10px;text-align:center;color:#254c3a}
.cta-row{display:flex;gap:18px;flex-wrap:wrap;margin:8px 0 6px;justify-content:center}
.btn{ text-decoration:none;padding:10px 14px;border-radius:10px;font-weight:700;;background:#91BCF2 }
.btn-primary{background:#20589E;color:#fff}
.btn-outline{background:#fff;border: 1px solid black; color:#0f3b28}
.trust{margin:9px 10%;text-align:center;align-items: center; list-style:none;display:flex;gap:20px;flex-wrap:wrap;padding:10px;background:transparent;font-size: 25px; color:white}

#despre{
  width: 100%;
  height: auto;

}
/* ========= Secțiuni About: alternanță desktop, imagine deasupra pe mobil ========= */
.about-section{background: transparent;  width: 100%; padding:16px 14px}
.about-content{
  width:100%;
  ;margin-inline:auto;z-index: 100;
  display:center;gap:24px;align-items:center;
 background:transparent;border-radius:38px;
  padding:18px;overflow:hidden;

}

/* Desktop: două coloane și alternanță prin data-side */



.about-photo{
  width:100%;max-width:360px;margin-inline:auto;
  border-radius:142px;box-shadow:0 18px 14px white;
}
.about-text h2{font-size:50px;margin:0 0 6px; letter-spacing: ; text-transform: uppercase; text-shadow: 1px 2px #20589E;  font-family: 'IBM Plex Mono', monospace;text-align: center; ; color:white;transition: all 1s ease;}
.about-text h2:hover{
  transform: scale(1.1);
}
.about-text h3{font-size:25px;margin:0 0 8px;text-align: center;text-shadow: 1px 2px #20589E; color:white}
.about-text p{margin:0 0 8px; font-size: 20px;text-align: center; color: white}
.bullets{margin:0 0 8px 18px;text-align: center;
 box-shadow: 0 4px 15px white;}
.bullets:hover{
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.bullets li{
  color: white;
  font-size: 25px;
  text-align: center;
  padding: 10px;
  transition: all 0.3s ease;
}
.bullets li:hover{
    transform: scale(1.05);
}
/* Dimensiuni foto per secțiune */
#despre   .about-photo{max-width:240px}
#servicii .about-photo{max-width:320px}

#servicii h2{
  color: white;
font-size: 60px;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 0;
  letter-spacing: 2px;
  transition: all 1s ease; 
  
}
#servicii h2:hover{
  transform: translateY(-0.375rem);
  transform: scale(1.5);
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
#servicii p{
  color: white;
  text-align: center;
  font-size: 25px;
}
/* Tarife */
.prices{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.prices.slim{grid-template-columns:repeat(3,minmax(0,1fr))}
.price{
  background:#fff;border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;display:flex;margin: 20px; justify-content:space-between;gap:10px;min-width:0
}
.price span{color:white;font-weight:800}
.policies{color:white}
.about-text p{
  padding: 10px;
}
#portofoliu h2{
  color: white;
  text-align: center;
  padding: 20px;
  margin: 20px;
  font-size: 40px;
   transition: all 1.2s ease;
   text-transform: uppercase;
}
#portofoliu h2:hover{
  transform: scale(1.5);
}
#portofoliu p{
  color: white;
  text-align: center;
}

/* Secțiuni largi: Portofoliu, Testimoniale, Contact */
.section.wide{padding:22px 14px}

.section.wide h2{font-size:var(--fs-2xl);margin:0 0 8px;color:#123b29}

#faq h2{
  color: white; font-weight: 900;
    text-transform: uppercase; text-align: center;border-radius: 30px;padding: 20px;
}
#faq summary{
  color: white;
  text-align: center;
  font-size: 30px;
  letter-spacing: 1px;
  padding: 20px;
}
#faq p{
  color: white;
  text-align: center;
  font-size: 25px;
  letter-spacing: 1px;
}
/* Galerie Cabinet */
.gallery{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-md)}
.gallery figcaption{padding:8px 10px;color:#2b5a47}

/* Testimoniale */
#testimoniale h2{
  color: white;
  text-align: center;
  text-transform: uppercase;
  font: 40px;
  padding: 20px;
  margin: 20px;
  transition: all 0.3s ease;
}
#testimoniale h2:hover{
  transform: scale(1.5);
}
.cards p{
  color: black;
  font-size: 25px;
  z-index: 100;
}
.cards.testi{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.testi-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:6px;color: white}
.avatar{width:40px;height:40px;border-radius:50%}

/* Contact */
.section-contact .contact-wrap{
  max-width:1100px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1.1fr;gap:16px
}
.contact-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.contact-list a{color:#0f3b28;font-weight:700;text-decoration:none}
.map iframe{width:100%;min-height:300px;border:0;border-radius:10px}
#contact h2{
  color: white;
  text-align: center;
  font-size: 25px;
}
/* Citește mai mult */
.read-more,.more-btn{
  appearance:none;border:1px solid var(--line);background:linear-gradient(to bottom,var(--bg1),var(--bg2) 45%,var(--bg3) 100%);;color:#123b29;
  padding:8px 12px;border-radius:10px;font-weight:700;cursor:pointer
}
.read-more:hover{background:#f7fffb}

/* Modal */
.modal[aria-hidden="true"]{display:none}
.modal[aria-hidden="false"]{
  position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:rgba(0,0,0,.35);padding:14px
}
.modal-dialog{width:min(92vw,680px);max-height:78vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:var(--shadow-md);padding:16px}
.modal-close{border:0;background:#eef6;width:32px;height:32px;border-radius:10px;cursor:pointer;float:right;margin:-4px -4px 6px 6px}

/* Sus */
.to-top{position:fixed;right:14px;bottom:14px;z-index:4;width:42px;height:42px;border-radius:10px;background:#3880D9;color:#fff;border:0;cursor:pointer;box-shadow:var(--shadow-md)}

/* Footer */
.site-footer{text-align:center;color:var(--muted);padding:18px 14px;border-top:1px solid var(--line);background:rgba(232,251,239,.9)}
.footer-social{display:flex;gap:10px;justify-content:center;align-items:center;margin-bottom:6px}
.footer-social img{width:22px;height:22px}
/* ===== Secțiuni About pe jumătate de pagină, alternanță stânga/dreapta ===== */
.about-section{
  padding:16px 14px;
  display:grid;
  grid-template-columns:1fr 1fr; /* două coloane egale = 50% / 50% */
  align-items:stretch;
}

/* containerul NU mai este centrat */
.about-content{
  width:100%;
  margin:0;                 /* elimină centrare */
  display:grid;gap:24px;align-items:center;
  
  ;padding:18px;overflow:hidden;
}

/* ===== Secțiuni full-width: Servicii, Tarife, Contact ===== */
#servicii,
#tarife,
{
  grid-template-columns: 1fr !important; /* o singură coloană */
  display: block !important;             /* ocupă toată pagina */
}

#servicii .about-content,
#tarife .about-content {
  max-width: 1400px;
  margin-inline: auto;
  grid-template-columns: 1fr; /* imagine + text pe verticală implicit */
  text-align: center;
}


@media (max-width:900px) {
  #contact .contact-wrap {
    grid-template-columns: 1fr;  /* stacked pe mobil */
  }
}
/* mobil/tabletă: 100% lățime, imaginea deasupra textului */
@media (max-width:900px){
  .about-section{grid-template-columns:1fr}
  .about-content{grid-column:1;grid-template-columns:1fr;text-align:center}
  .about-photo{order:1}
  .about-text {order:2}
}

/* dimensiuni foto */
.about-photo{
  width:100%;max-width:360px;margin-inline:auto;
  border-radius:92px;box-shadow:10px 8px 14px white;
}
#despre   .about-photo{max-width:300px}
#servicii .about-photo{max-width:320px}

/* ===== Figură geometrică asociată secțiunii (dacă există un element .geo) ===== */
.about-section .geo{justify-self:start}
.about-section[data-side="right"] .geo{justify-self:end}
/* ===== Breakpoints ===== */
@media (max-width:1100px){
  .hero-inner{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:900px){
  #logo3d{width:44px;height:44px}
  .menu-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;padding:8px 10px;border-radius:10px}
  .nav,.cta-header{display:none}

  .about-photo{max-width:240px}
  #despre   .about-photo{max-width:200px}
  #servicii .about-photo{max-width:220px}

  .prices,.prices.slim{grid-template-columns:1fr}
  .cards.testi{grid-template-columns:1fr}
  .section-contact .contact-wrap{grid-template-columns:1fr}
}

@media (max-width:600px){
  #logo3d{width:36px;height:36px}
  .hero h1{font-size:clamp(28px,8vw,36px)}
  .hero .sub{font-size:var(--fs-sm)}
  .btn{padding:9px 12px;font-size:14px}

  .about-photo{max-width:180px}
  #despre   .about-photo{max-width:160px}
  #servicii .about-photo{max-width:180px}

  .gallery{grid-template-columns:1fr}
  .avatar{width:36px;height:36px}
  .modal-dialog{width:min(94vw,560px)}
}

/* Siguranță: containerele nu depășesc lățimea */
.hero,.about-section,.section,.site-header,.notice,.site-footer{width:100%}
.hero-inner,.about-content,.section > *,.section.wide > *{max-width:1400px;margin-inline:auto}
:where(.about-content,.price,.hero-inner,.contact-wrap,.gallery,.cards){min-width:0}
/* Layering fix: conținutul peste canvas */
#bg3d{
  position:fixed; top:0; left:0; width:100%; height:100%;
  z-index:0; pointer-events:none;
}

/* ridică toate secțiunile peste canvas */
.notice,
.site-header,
main,
.site-footer,
#mobileMenu{
  position:relative;
  z-index:1;
}
/* ==== Centrare 80% + blur. Anulează grid-ul care împinge la stânga ==== */
.about-section{ 
  display:block !important;           /* nu mai folosește grid 1fr 1fr */
}

.hero-inner,
.about-content,
.section.wide > *,
.section-contact .contact-wrap{
  width:100% !important;
 

 
}

/* opțional: pe mobil, ocupă 92% pentru respirabilitate */
@media (max-width:900px){
  .hero-inner,
  .about-content,
  .section.wide > *,
  .section-contact .contact-wrap{
    width:92% !important;
  }
}
/* ==== Interior secțiuni: imagine + text alternant ==== */
.about-content{
  display:grid !important;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  gap:34px;
  text-align:center;
  margin: 20px;
}

/* implicit: imagine stânga, text dreapta */
.about-section .about-photo{order:1;justify-self:center}
.about-section .about-text {order:2}

/* pentru secțiunile pare: invers */
.about-section:nth-of-type(even) .about-photo{order:2}
.about-section:nth-of-type(even) .about-text {order:1; text-align:center;}

/* Mobil: revine imagine sus, text jos */
@media (max-width:900px){
  .about-content{
    grid-template-columns:1fr !important;
    text-align:center;
  }
  .about-photo{order:1;margin:0 auto}
  .about-text {order:2;text-align:center !important}
}
#contacrt{
     grid-template-columns: 1fr !important; /* o singură coloană */
  display: block !important;  
}
.contact-side{
 
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-transform: uppercase;
  visibility: visible;
  display: flex;
margin: auto;
}

.contact-list li{
  color: white;
  text-align: center;
}
.contact-list a{
  color: white;
  text-align: center;
  font-size: 25px;
}