
:root {
  /* Înlocuiește cu valorile exacte din ghidul de brand Tomatis */
  --tomatis-blue: #2563eb;
  --tomatis-blue-soft: #d5e4ff;
  --teratop-gold: #2563eb;
  --teratop-dark: #0f172a;
  --teratop-bg: #eff6ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--teratop-dark);
  background: #ffffff;
}


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

a {
  color: inherit;
}

.page-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 60px;
}


/* HEADER */

\.home-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: #ffffff;
      border-bottom: 2px solid rgba(37, 99, 235, 0.12);
      width: 100%;
      margin: 0 0 24px;
    }

.home-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
}

.home-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-logo {
  display: block;
  max-width: 210px;
  height: auto;
}

.home-logo-text {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tomatis-blue);
  font-weight: 600;
}

.home-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.home-nav a {
  font-size: 15px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.home-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--tomatis-blue);
  transition: width 0.2s ease;
}

.home-nav a:hover::after,
.home-nav a.is-active::after {
  width: 100%;
}

.home-nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tomatis-blue);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* LAYOUT CARDS & SECTION */

.home-main {
  padding-top: 24px;
}

.home-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.3);
  border-top: 4px solid var(--tomatis-blue);
  transition: all 0.25s ease;
  overflow: hidden;
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.5);
}

.home-card h1,
.home-card h2,
.home-card h3 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 0;
}

.home-card h1 { font-size: 30px; margin-bottom: 14px; }
.home-card h2 { font-size: 24px; margin-bottom: 12px; }
.home-card h3 { font-size: 20px; margin-bottom: 10px; }

.home-card p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.home-card ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  margin-bottom: 8px;
}

.home-card li {
  font-size: 16px;
  margin-bottom: 6px;
}

.home-card li::before {
  content: "•";
  color: var(--tomatis-blue);
  margin-right: 8px;
  font-weight: bold;
}

.home-badge {
  display: inline-block;
  font-size: 13px;
  padding: 6px 14px;
  background: linear-gradient(90deg, rgba(37,99,235,0.06), #bfdbfe);
  color: #111827;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--tomatis-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.home-card-image {
  margin-bottom: 18px;
  text-align: center;
}

.home-card-image img {
  border-radius: 16px;
  display: inline-block;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.home-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--tomatis-blue), #60a5fa);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 17px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.home-cta-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.5);
}

.home-cta-secondary {
  font-size: 14px;
  color: #4b5563;
}

.home-quote {
  font-style: italic;
  color: #374151;
  font-size: 17px;
  margin-bottom: 14px;
}

.home-card-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.home-hero-left {
  text-align: left;
}

.home-hero-right {
  text-align: center;
}

.section-title-center {
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 20px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.about-list li::before {
  content: "✨";
  color: var(--tomatis-blue);
  margin-right: 8px;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.about-photo-grid img {
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

/* CONTACT FORM */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 30px;
}

.contact-details p {
  margin: 0 0 6px;
  font-size: 16px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 12px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* FOOTER */

.footer {
      width: 100%;
      margin: 0;
      padding: 10px 20px 30px;
      text-align: center;
      font-size: 13px;
      color: #6b7280;
      background: linear-gradient(90deg, rgba(37,99,235,0.06), rgba(191,219,254,0.2));
    }
    .footer a {
      color: var(--tomatis-blue);
      text-decoration: none;
      font-weight: 500;
    }

.footer a {
  color: var(--tomatis-blue);
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .home-card {
    padding: 26px 18px;
  }

  .home-card h1 { font-size: 26px; }
  .home-card h2 { font-size: 22px; }
  .home-card p,
  .home-card li { font-size: 16px; }

  .home-card-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-nav {
    justify-content: flex-start;
  }
}


/* Layout rafinat pentru imagini și conținut în carduri */
.home-card {
  text-align: left;
}

.home-card-hero .home-hero-left {
  text-align: left;
}

.home-card-hero .home-hero-right {
  text-align: center;
}

/* În cardurile obișnuite, conținutul text este centrat într-o coloană mai îngustă,
   ca să nu "fugă" prea mult în lateral pe monitoare mari */
.home-card:not(.home-card-hero) h2,
.home-card:not(.home-card-hero) h3,
.home-card:not(.home-card-hero) p,
.home-card:not(.home-card-hero) ul {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Imaginile din cardurile obișnuite sunt mai compacte și nu mai dilată pagina excesiv */
.home-card:not(.home-card-hero) .home-card-image {
  margin-bottom: 18px;
}

.home-card:not(.home-card-hero) .home-card-image img {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Imaginile din hero sunt controlate ca înălțime, să nu ocupe ecranul complet pe verticală */
.home-card-hero .home-card-image img {
  max-height: 420px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Pe mobil, imaginile pot folosi din nou lățimea completă pentru claritate */
@media (max-width: 900px) {
  .home-card:not(.home-card-hero) .home-card-image img {
    max-width: 100%;
  }
  .home-card-hero .home-card-image img {
    max-height: none;
    width: 100%;
  }
}


/* === REFINARE STRUCTURĂ CARDURI & ALINIERE TITLURI/IMAGINI === */

/* Cardurile normale: structură de tip "card premium" cu conținut centrat */
.home-card {
  text-align: center;
}

/* Titluri centrate frumos în carduri */
.home-card h2,
.home-card h3,
.home-card .section-title-center {
  text-align: center;
}

/* Paragrafe și liste centrate, cu lățime de citire confortabilă */
.home-card p,
.home-card ul {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Hero: textul principal rămâne aliniat la stânga pentru lizibilitate */
.home-card-hero .home-hero-left {
  text-align: left;
}

.home-card-hero .home-hero-left p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Layout pe două coloane (Despre noi, Metoda Tomatis) – text aliniat la stânga */
.two-column {
  text-align: left;
}

.two-column h1,
.two-column h2,
.two-column h3,
.two-column p,
.two-column ul {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Imaginile de card (non-hero) rămân elegante și centrate */
.home-card:not(.home-card-hero) .home-card-image img {
  display: block;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Pe mobil, lăsăm imaginile să respire pe toată lățimea */
@media (max-width: 900px) {
  .home-card p,
  .home-card ul {
    max-width: 100%;
  }
  .home-card:not(.home-card-hero) .home-card-image img {
    max-width: 100%;
  }
}


/* === Hero slider pe prima pagină === */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
  background: #000000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
}

.hero-slider-dot.is-active {
  background: rgba(255,255,255,0.95);
  opacity: 1;
}

/* Pe mobil sliderul se adaptează natural */
@media (max-width: 900px) {
  .hero-slider {
    max-width: 100%;
    border-radius: 18px;
  }
}



/* === Hero mare reprezentativ pe fiecare pagină === */
.page-hero {
  width: 100%;
  margin-bottom: 32px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #0f172a;
}

.page-hero-image {
  width: 100%;
  /* lăsăm browserul să decidă înălțimea după raportul pozei */
  max-height: none;
  overflow: hidden;
}

.page-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero-content {
  padding: 22px 20px 26px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero .home-badge {
  margin-bottom: 10px;
}

.page-hero .home-tagline {
  color: var(--tomatis-blue);
}

.page-hero h1 {
  color: #0f172a;
  margin-bottom: 14px;
}

.page-hero p {
  color: #374151;
  max-width: 900px;
  margin-left: 0;
  margin-right: 0;
}

/* Pe mobil păstrăm aceeași structură, dar cu margini mai mici */
@media (max-width: 900px) {
  .page-hero {
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
  }
  .page-hero-content {
    padding: 18px 14px 20px;
  }
  .page-hero-image {
    max-height: none;
  }
}
