/* ===== Variables ===== */
:root {
  --color-primary: #1a4d6d;
  --color-primary-dark: #0f3347;
  --color-primary-light: #2a6f96;
  --color-accent: #c8a45c;
  --color-accent-hover: #b8924a;
  --color-bg: #faf9f7;
  --color-bg-alt: #f0ede8;
  --color-surface: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #5c5c5c;
  --color-border: #e2ddd6;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 2px 8px rgba(26, 77, 109, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 77, 109, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 77, 109, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn--light:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header--scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__icon {
  color: var(--color-primary);
  width: 40px;
  height: 40px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
}

.logo__text small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--color-primary); }

.nav__cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

.nav__cta:hover {
  background: var(--color-primary-dark);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 51, 71, 0.92) 0%, rgba(26, 77, 109, 0.85) 50%, rgba(42, 111, 150, 0.75) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #fff;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(200, 164, 92, 0.2);
  border: 1px solid rgba(200, 164, 92, 0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero__lead {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-accent);
}

.hero__stats span {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section__header--left {
  text-align: left;
  margin-left: 0;
}

.section__header p {
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  gap: 1.5rem;
}

.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 1.25rem;
}

.card__icon svg { width: 32px; height: 32px; }

.card h3 { margin-bottom: 0.75rem; color: var(--color-primary); }
.card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ===== Products ===== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product__visual {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.product__visual--termopane {
  background: linear-gradient(160deg, #87ceeb 0%, #4a90a4 40%, #2c5f6f 100%);
}

.product__visual--premium {
  background: linear-gradient(160deg, #d4af37 0%, #8b7355 50%, #4a3728 100%);
}

.product__visual--usi {
  background: linear-gradient(160deg, #e8e4df 0%, #b8b0a4 50%, #7a7268 100%);
}

.product__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.product__tag--gold {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.product__body { padding: 1.5rem; }

.product__body h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.product__body > p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product__features {
  margin-bottom: 1.25rem;
}

.product__features li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.product__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== Rulouri ===== */
.rulouri {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rulouri__content h2 { margin-bottom: 1rem; color: var(--color-primary); }
.rulouri__content > p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

.checklist { margin-bottom: 2rem; }

.checklist li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-text);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
}

.rulouri__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rulouri__window {
  width: 280px;
  height: 360px;
  background: linear-gradient(180deg, #a8d4e6 0%, #6ba3b8 100%);
  border: 8px solid #e8e4df;
  border-radius: 4px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.rulouri__slats {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: repeating-linear-gradient(
    180deg,
    #4a5568 0px,
    #4a5568 12px,
    #2d3748 12px,
    #2d3748 14px
  );
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about__text h2 { margin-bottom: 1rem; color: var(--color-primary); }

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  background: var(--color-surface);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.highlight strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.highlight span {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.about__steps {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.about__steps h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.steps li:last-child { border-bottom: none; }

.steps__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.steps strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.steps p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 4rem 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.cta-band p { opacity: 0.85; }

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__form {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(26, 77, 109, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  min-height: 1.4em;
}

.form-note--success { color: #2d6a4f; }
.form-note--error { color: #c0392b; }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.contact__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  border-radius: var(--radius);
}

.contact__card strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact__card a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact__card a:hover { color: var(--color-primary-light); }

.contact__card span {
  color: var(--color-text);
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer__brand p { font-size: 0.8rem; }

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--color-accent); }

.footer__phone {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.05rem;
}

.footer__phone:hover { color: #fff; }

/* ===== FAB ===== */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform 0.2s, background 0.2s;
}

.fab:hover {
  transform: scale(1.08);
  background: var(--color-accent-hover);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .cards--3,
  .products { grid-template-columns: repeat(2, 1fr); }

  .rulouri,
  .about,
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about__highlights { grid-template-columns: 1fr; }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.875rem 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle--active span:nth-child(2) { opacity: 0; }
  .nav-toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .cards--3,
  .products { grid-template-columns: 1fr; }

  .hero__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav { flex-wrap: wrap; justify-content: center; }
}
