/* =============================================
   ROGER VIỆT NAM – BẢO HÀNH ĐIỆN TỬ
   style.css – Dùng chung toàn site
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600;1,700&family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Montserrat:wght@700;800;900&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --brand:        #ed6b0a;
  --brand-dark:   #c45500;
  --brand-light:  #ff8c35;
  --brand-glow:   rgba(237,107,10,.35);

  --it-green:     #009246;
  --it-red:       #ce2b37;
  --it-white:     #ffffff;

  --dark:         #0d0d1a;
  --dark2:        #13131f;
  --dark3:        #1a1a2e;
  --text:         #1e1e2e;
  --text-muted:   #6b7280;
  --border:       #e8eaed;
  --bg-light:     #f8f7f5;
  --bg-card:      #ffffff;

  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.14);
  --shadow-xl:    0 32px 80px rgba(0,0,0,.18);

  --font-display: 'Cormorant Garamond', 'Be Vietnam Pro', serif;
  --font-head:    'Montserrat', 'Be Vietnam Pro', sans-serif;
  --font-body:    'Be Vietnam Pro', sans-serif;

  --ease:         cubic-bezier(.4,0,.2,1);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
  --t:            .3s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── PAGE FADE IN ── */
body { animation: pageFade .5s ease both; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ITALY STRIPE ── */
.italy-stripe {
  height: 4px;
  background: linear-gradient(to right,
    var(--it-green) 33.33%,
    #f0f0f0 33.33% 66.66%,
    var(--it-red) 66.66%
  );
  position: relative; z-index: 200;
}

/* ── SCROLL PROGRESS ── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--brand), var(--brand-light));
  width: 0%;
  z-index: 9999;
  box-shadow: 0 0 10px var(--brand-glow);
  transition: width .08s linear;
}

/* ── HEADER ── */
.site-header {
  background: rgba(13,13,26,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--t) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,.45);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
  transition: height var(--t) var(--ease);
}

.site-header.scrolled .header-inner { height: 60px; }

/* ── LOGO ── */
.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.logo-wrap:hover { opacity: .8; }

.logo-wrap img {
  /* 565×175 → ratio 3.23:1 — tại h=42px, w≈136px */
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: height var(--t) var(--ease);
}

.site-header.scrolled .logo-wrap img { height: 34px; }

/* ── NAV ── */
.main-nav { display: flex; align-items: center; gap: 2px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  position: relative;
  transition: color var(--t), background var(--t);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 14px; right: 14px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .35s var(--ease-spring);
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }
.nav-link svg { width: 15px; height: 15px; flex-shrink: 0; }

.nav-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--brand);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
  margin-left: 10px;
  box-shadow: 0 4px 16px var(--brand-glow);
  transition: background var(--t), transform .3s var(--ease-spring), box-shadow var(--t);
}

.nav-hotline:hover {
  background: var(--brand-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px var(--brand-glow);
}

.nav-hotline svg { width: 15px; height: 15px; }

/* ── MOBILE TOGGLE ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 100px 28px 100px;
  text-align: center;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 50%, rgba(237,107,10,.13) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(0,146,70,.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 65% 85%, rgba(206,43,55,.06) 0%, transparent 50%);
  animation: bgBreath 9s ease-in-out infinite alternate;
}

@keyframes bgBreath {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.05); }
}

.hero-italy-stripe {
  position: absolute;
  top: 0; right: 0;
  width: 480px; height: 100%;
  background: linear-gradient(180deg,
    rgba(0,146,70,.055) 33.33%,
    rgba(255,255,255,.025) 33.33% 66.66%,
    rgba(206,43,55,.055) 66.66%
  );
  transform: skewX(-12deg) translateX(70px);
  pointer-events: none;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: orbDrift linear infinite;
}
.orb-1 { width: 350px; height: 350px; background: rgba(237,107,10,.13); top: -100px; left: -80px; animation-duration: 20s; }
.orb-2 { width: 260px; height: 260px; background: rgba(0,146,70,.08);   bottom: -70px; right: 8%;  animation-duration: 25s; animation-direction: reverse; }
.orb-3 { width: 200px; height: 200px; background: rgba(206,43,55,.07);  top: 35%; right: 18%;     animation-duration: 17s; }

@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  25%  { transform: translate(25px,-18px) scale(1.04); }
  50%  { transform: translate(-18px,28px) scale(.96); }
  75%  { transform: translate(18px,18px) scale(1.02); }
  100% { transform: translate(0,0) scale(1); }
}

/* hero::after bỏ — stats-bar ngay dưới cũng tối, không cần curve trắng */

.hero-content {
  position: relative; z-index: 3;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(237,107,10,.1);
  border: 1px solid rgba(237,107,10,.22);
  color: var(--brand-light);
  padding: 7px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 28px;
  animation: slideDown .8s ease .15s both;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--brand-light);
  border-radius: 50%;
  animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.7); opacity: .5; }
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5.5vw, 3.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -.5px;
  animation: slideUp .9s ease .3s both;
}

.hero h1 .italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand);
  font-size: 1.08em;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.58);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: slideUp .9s ease .45s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: slideUp .9s ease .6s both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow var(--t), background var(--t);
  border: none;
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 24px var(--brand-glow);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 36px rgba(237,107,10,.5); }

.btn-outline {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 50px;
}
.btn-outline:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.38); color: #fff; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── SECTION ── */
.section { padding: 84px 28px; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brand);
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -.3px;
}

.section-header p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8;
}

.container { max-width: 1240px; margin: 0 auto; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(to right, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.service-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-xl); border-color: rgba(237,107,10,.12); }
.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,107,10,.1);
  color: var(--brand);
  transition: background var(--t), transform .4s var(--ease-spring);
}
.card-icon svg { width: 28px; height: 28px; }
.service-card:hover .card-icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.1); }

.service-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.service-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.72; flex: 1; }

.card-arrow { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--brand); }
.card-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-spring); }
.service-card:hover .card-arrow svg { transform: translateX(6px); }

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  padding: 56px 28px;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(237,107,10,.4), transparent);
}

.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  text-align: center;
}

.stat-item {}
.stat-num {
  font-family: var(--font-body);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── INFO STRIP ── */
.info-strip {
  background: var(--dark2);
  padding: 56px 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.info-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.info-item { display: flex; align-items: flex-start; gap: 16px; }

.info-item-icon {
  width: 46px; height: 46px;
  background: rgba(237,107,10,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: background var(--t), transform .3s var(--ease-spring);
}
.info-item:hover .info-item-icon { background: var(--brand); color: #fff; transform: scale(1.1) rotate(-5deg); }
.info-item-icon svg { width: 22px; height: 22px; }

.info-item h4 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.35); margin-bottom: 5px; }
.info-item p  { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); line-height: 1.5; }
.info-item p a { color: inherit; transition: color var(--t); }
.info-item p a:hover { color: var(--brand); }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--dark);
  padding: 64px 28px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
  width: 120%; height: 100px;
  background: var(--bg-light);
  border-radius: 50%;
  z-index: 2;
}
.page-hero-inner { position: relative; z-index: 3; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.38); transition: color var(--t); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: rgba(255,255,255,.2); }
.breadcrumb .current { color: rgba(255,255,255,.72); }

.page-hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.page-hero p { color: rgba(255,255,255,.48); font-size: .95rem; }

/* ── FORM ── */
.form-section { min-height: calc(100vh - 140px); padding: 68px 28px 96px; }
.form-container { max-width: 660px; margin: 0 auto; }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.form-card-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  padding: 40px 44px;
  position: relative; overflow: hidden;
}
.form-card-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 95% 50%, rgba(237,107,10,.1) 0%, transparent 55%);
}
.form-card-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  background: linear-gradient(180deg,
    rgba(0,146,70,.055) 33.33%,
    rgba(255,255,255,.02) 33.33% 66.66%,
    rgba(206,43,55,.055) 66.66%
  );
  transform: skewX(-12deg) translateX(30px);
}
.form-card-header h2 { font-family: var(--font-body); font-size: 1.65rem; font-weight: 800; color: #fff; margin-bottom: 6px; position: relative; z-index: 1; }
.form-card-header p  { font-size: .875rem; color: rgba(255,255,255,.52); position: relative; z-index: 1; }

.form-body { padding: 40px 44px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-group label .required { color: var(--it-red); margin-left: 3px; }

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237,107,10,.1); }
.form-control::placeholder { color: #c0c8d0; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ed6b0a' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}
select.form-control option[disabled] { color: #c0c8d0; }
select.form-control optgroup { font-weight: 700; color: var(--dark); }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 24px var(--brand-glow);
  margin-top: 8px;
  transition: background var(--t), transform .3s var(--ease-spring), box-shadow var(--t);
}
.btn-submit:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(237,107,10,.45); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-submit svg { width: 20px; height: 20px; }

/* ── SUCCESS ── */
.success-card {
  display: none;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 52px 44px;
  text-align: center;
  border: 1px solid var(--border);
  animation: successPop .5s var(--ease-spring) both;
}
@keyframes successPop {
  from { opacity: 0; transform: scale(.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.success-icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, #e4f9ed, #c3f0d5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--it-green);
  animation: iconPop .6s var(--ease-spring) .2s both;
}
@keyframes iconPop {
  from { transform: scale(0) rotate(-20deg); }
  to   { transform: scale(1) rotate(0); }
}
.success-icon svg { width: 38px; height: 38px; }

.success-card h3 { font-family: var(--font-body); font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.success-card > p { color: var(--text-muted); font-size: .92rem; line-height: 1.75; margin-bottom: 28px; }

.warranty-code-box {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.warranty-code-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 10% 50%, rgba(237,107,10,.12) 0%, transparent 55%);
}
.warranty-code-box .label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.38); margin-bottom: 8px; position: relative; z-index: 1; }
.warranty-code-box .code { font-family: var(--font-body); font-size: 1.8rem; font-weight: 800; color: var(--brand); letter-spacing: 3px; position: relative; z-index: 1; }

.copy-btn {
  position: absolute;
  top: 50%; right: 16px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.55);
  padding: 7px 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  transition: background var(--t), color var(--t);
  z-index: 2;
}
.copy-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.copy-btn svg { width: 14px; height: 14px; }

.warranty-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
  text-align: left;
}
.wd-item { background: var(--bg-light); border-radius: 10px; padding: 14px 16px; border: 1px solid var(--border); }
.wd-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.wd-value { font-size: .9rem; font-weight: 600; color: var(--dark); word-break: break-word; }

.btn-reset {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform .3s var(--ease-spring);
}
.btn-reset:hover { background: rgba(237,107,10,.05); border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ── POLICY ── */
.policy-section { padding: 64px 28px 92px; }
.policy-layout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 228px 1fr; gap: 36px; align-items: start; }

.policy-sidebar {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 22px; position: sticky; top: 90px; box-shadow: var(--shadow-sm);
}
.policy-sidebar h4 {
  font-family: var(--font-body); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--brand);
  padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px;
}
.policy-sidebar ul li { margin-bottom: 2px; }
.policy-sidebar ul li a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: .865rem; color: var(--text-muted); font-weight: 500;
  transition: background var(--t), color var(--t), padding-left var(--t);
}
.policy-sidebar ul li a:hover, .policy-sidebar ul li a.active {
  background: rgba(237,107,10,.08); color: var(--brand); font-weight: 600; padding-left: 16px;
}

.policy-content {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 52px; box-shadow: var(--shadow-sm);
}
.policy-content section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--border); }
.policy-content section:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.policy-content h2 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.section-num { width: 34px; height: 34px; background: var(--brand); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: .875rem; font-weight: 800; flex-shrink: 0; }
.policy-content p { color: var(--text-muted); font-size: .9rem; line-height: 1.88; margin-bottom: 12px; }
.policy-content ul.policy-list { list-style: none; margin: 12px 0; }
.policy-content ul.policy-list li { position: relative; padding-left: 20px; color: var(--text-muted); font-size: .9rem; line-height: 1.85; margin-bottom: 7px; }
.policy-content ul.policy-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
.highlight-box { background: rgba(237,107,10,.05); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 16px 0; }
.highlight-box p { color: var(--dark); font-weight: 500; margin: 0; }

.warranty-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .875rem; }
.warranty-table th { background: var(--dark); color: #fff; padding: 12px 16px; text-align: left; font-family: var(--font-body); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.warranty-table th:first-child { border-radius: 8px 0 0 0; }
.warranty-table th:last-child  { border-radius: 0 8px 0 0; }
.warranty-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.warranty-table tr:last-child td { border-bottom: none; }
.warranty-table tr:nth-child(even) td { background: var(--bg-light); }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  padding: 56px 28px 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(237,107,10,.3), transparent);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
}

.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 34px; width: auto; object-fit: contain; }

.footer-brand p { font-size: .875rem; line-height: 1.82; color: rgba(255,255,255,.38); max-width: 300px; }

.footer-col h4 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--brand); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.42); transition: color var(--t), padding-left var(--t); display: inline-block; }
.footer-col ul li a:hover { color: var(--brand); padding-left: 4px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: .875rem; color: rgba(255,255,255,.42); line-height: 1.55; }
.footer-contact-item a { color: rgba(255,255,255,.42); transition: color var(--t); }
.footer-contact-item a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  max-width: 1240px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.24); }

.it-flag-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; color: rgba(255,255,255,.28); font-weight: 500;
}
.it-flag-badge .flag-strips { display: flex; gap: 2px; }
.it-flag-badge .f-g, .it-flag-badge .f-w, .it-flag-badge .f-r { display: block; width: 12px; height: 9px; border-radius: 1.5px; }
.it-flag-badge .f-g { background: var(--it-green); }
.it-flag-badge .f-w { background: rgba(255,255,255,.4); }
.it-flag-badge .f-r { background: var(--it-red); }

/* ── FLOATING HOTLINE ── */
.float-hotline { position: fixed; bottom: 28px; right: 28px; z-index: 998; }
.float-hotline a {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand); color: #fff;
  padding: 13px 22px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 32px var(--brand-glow);
  animation: floatBob 3.5s ease-in-out infinite;
  transition: transform .3s var(--ease-spring), box-shadow var(--t);
}
.float-hotline a:hover { transform: scale(1.06) translateY(-3px) !important; box-shadow: 0 14px 40px rgba(237,107,10,.6); animation-play-state: paused; }
.float-hotline svg { width: 20px; height: 20px; animation: phoneRing 3s ease infinite; }

@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes phoneRing {
  0%,60%,100% { transform: rotate(0); }
  10% { transform: rotate(-18deg); }
  20% { transform: rotate(16deg); }
  30% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  50% { transform: rotate(0); }
}

/* ── SPINNER ── */
.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(13,13,26,.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 2px solid var(--brand);
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .nav-link { width: 100%; border-radius: 10px; padding: 11px 16px; }
  .nav-link::after { display: none; }
  .nav-hotline { width: 100%; justify-content: center; margin-left: 0; border-radius: 10px; }

  .hero { padding: 80px 20px 120px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .form-body { padding: 28px 24px; }
  .form-card-header { padding: 32px 28px; }
  .success-card { padding: 40px 24px; }

  .policy-content { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .warranty-detail { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .float-hotline .hotline-text { display: none; }
  .float-hotline a { padding: 15px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
}

.warranty-table td[rowspan] {
  font-weight: 600;
  color: var(--dark);
  vertical-align: middle;
  background: rgba(237,107,10,.04);
}