/* ==============================================
   AutoDrive 2026 — Dark Theme with Starfield BG
   Clean editorial layout, arise-int.com background
   ============================================== */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0D17;
  --bg2: #0E1225;
  --surface: #141730;
  --surface2: #1A1F3D;
  --surface-border: #252B4A;
  --white: #ffffff;
  --text: #CCD6F6;
  --text-sub: #8892B0;
  --text-muted: #5A6180;
  --accent: #FFA500;
  --accent-hover: #E69500;
  --accent-light: rgba(255,165,0,0.12);
  --accent-glow: rgba(255,165,0,0.25);
  /* Legacy aliases */
  --red: var(--accent);
  --red-hover: var(--accent-hover);
  --red-light: var(--accent-light);
  --red-glow: var(--accent-glow);
  --green: #25d366;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-hover: 0 12px 48px rgba(0,0,0,0.5);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 80px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-sub);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Top accent line */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  z-index: 9999;
}

a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* --- Background Effects (arise-int.com style) --- */
.bg-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-nebula {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 20% 30%, rgba(236,37,38,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 600px 800px at 80% 70%, rgba(236,37,38,0.02) 0%, transparent 70%),
    radial-gradient(ellipse 900px 400px at 60% 10%, rgba(255,100,100,0.02) 0%, transparent 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(236,37,38,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,37,38,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: 36px; letter-spacing: -0.3px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-intro {
  font-size: 18px;
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #FFA500, #FFB800);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,165,0,0.35), 0 0 20px rgba(255,165,0,0.15);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #E69500, #e0256a);
  box-shadow: 0 6px 28px rgba(255,165,0,0.5), 0 0 40px rgba(255,165,0,0.2);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--surface-border);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--white {
  background: var(--white);
  color: var(--bg);
}
.btn--white:hover {
  background: var(--text);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--surface-border);
}
.btn--dark:hover {
  background: var(--surface2);
  transform: translateY(-1px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(11,13,23,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--white); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  padding: 10px 20px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}
.nav__cta:hover {
  background: var(--red);
  color: var(--white);
}
.nav__cta i { font-size: 13px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  padding: 12px 24px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--red); }

.mobile-menu__phone {
  margin-top: 24px;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--red) !important;
}
.mobile-menu__phone i { margin-right: 8px; }

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - 128px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,165,0,0.15);
  box-shadow: 0 0 15px rgba(255,165,0,0.1);
}
.hero__badge i { font-size: 11px; }

.hero h1 {
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--red);
}

.hero__desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__accent {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--red-glow);
  border-radius: 50%;
  z-index: -1;
  top: -40px;
  right: -40px;
  filter: blur(60px);
}

.hero__accent-2 {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(236,37,38,0.1);
  border-radius: 50%;
  z-index: -1;
  bottom: -20px;
  left: -20px;
  filter: blur(40px);
}

/* --- Stats --- */
.stats {
  background: linear-gradient(135deg, #FFA500 0%, #FFB800 100%);
  padding: 48px 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px rgba(255,165,0,0.15), inset 0 0 60px rgba(255,184,0,0.1);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- About --- */
.about {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__images {
  position: relative;
}

.about__img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  border: 1px solid rgba(255,255,255,0.06);
}

.about__img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 3px solid var(--bg);
}

.about__text p {
  font-size: 16px;
  margin-bottom: 32px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  color: var(--red);
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid rgba(236,37,38,0.1);
}

.feature__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  padding-top: 8px;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.services .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.services .section-header .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(236,37,38,0.2);
}

.service-card__img {
  height: 260px;
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 32px;
}

.service-card__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 12px;
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card__features {
  margin-bottom: 24px;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.service-card__features li:last-child { border-bottom: none; }
.service-card__features li i {
  color: var(--red);
  font-size: 12px;
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.25s var(--ease);
}
.service-card__link:hover { gap: 14px; }

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.pricing .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing .section-header .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  position: relative;
  transition: all 0.3s var(--ease);
}
.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(236,37,38,0.2);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 30px rgba(255,165,0,0.15), 0 0 20px rgba(255,165,0,0.1);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFA500, #FFB800);
  color: var(--white);
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255,165,0,0.3);
}

.pricing-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  color: var(--red);
  border-radius: 14px;
  font-size: 22px;
  margin: 0 auto 20px;
  border: 1px solid rgba(236,37,38,0.1);
}

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-card__price {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card__price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-sub);
}
.pricing-card__features li i {
  color: var(--red);
  font-size: 13px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.pricing-card .btn { width: 100%; justify-content: center; }

.pricing__footnote {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing__footnote i { color: var(--red); margin-right: 6px; }

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #FFA500, #FFB800);
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(80px);
}

.cta-banner h2 {
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: var(--text-sub);
  font-size: 17px;
  margin-bottom: 32px;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* --- FAQ --- */
.faq {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.faq .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq .section-header .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--red); }

.faq__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  font-size: 14px;
  color: var(--text-sub);
  transition: all 0.25s var(--ease);
  margin-left: 16px;
}

.faq__item.open .faq__icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}
.faq__a-inner {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-sub);
}

.faq__item.open .faq__a {
  max-height: 200px;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--white);
  background: var(--bg2);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(236,37,38,0.15);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

#formMsg {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}
#formMsg.msg-ok {
  display: block;
  background: rgba(0,255,136,0.1);
  color: #00FF88;
  border: 1px solid rgba(0,255,136,0.15);
}
#formMsg.msg-err {
  display: block;
  background: rgba(236,37,38,0.1);
  color: var(--red);
  border: 1px solid rgba(236,37,38,0.15);
}

.contact__info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s var(--ease);
}
.contact-info-card:hover {
  border-color: rgba(236,37,38,0.2);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  color: var(--red);
  border-radius: 12px;
  font-size: 17px;
}

.contact-info-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
}
.contact-info-card a:hover { color: var(--red); }

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  color: var(--text-sub);
  font-size: 16px;
  transition: all 0.25s var(--ease);
}
.social-icon:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* --- Map --- */
.map-section {
  height: 380px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--surface-border);
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: brightness(0.7) contrast(1.1);
}

/* --- Footer --- */
.footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-sub);
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand img {
  height: 34px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__contact p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}
.footer__contact p i {
  color: var(--red);
  width: 16px;
  text-align: center;
  font-size: 13px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Float Actions --- */
.float-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s var(--ease);
}
.float-btn:hover {
  transform: scale(1.1);
}

.float-btn--phone {
  background: linear-gradient(135deg, #FFA500, #FFB800);
  box-shadow: 0 4px 20px rgba(255,165,0,0.4);
}
.float-btn--whatsapp {
  background: var(--green);
}

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.gallery .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.gallery .section-header .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* --- Gallery Carousel (index page) --- */
.gallery-carousel {
  position: relative;
  margin-bottom: 16px;
  overflow: visible;
}
.gallery-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.gallery-carousel__track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.gallery-carousel__item {
  flex: 0 0 25%;
  min-width: 25%;
  padding: 0 8px;
  box-sizing: border-box;
}
.gallery-carousel__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.gallery-carousel__item img:hover {
  border-color: rgba(255,165,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.gallery-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s var(--ease);
}
.gallery-carousel__btn:hover { background: rgba(255,165,0,0.8); }
.gallery-carousel__btn--prev { left: 12px; }
.gallery-carousel__btn--next { right: 12px; }

.gallery__view-all {
  text-align: center;
  padding: 24px 0 0;
}

.gallery__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .gallery-carousel__item { flex: 0 0 100%; }
  .gallery-carousel__btn { width: 36px; height: 36px; font-size: 14px; }
  .gallery-carousel__btn--prev { left: 4px; }
  .gallery-carousel__btn--next { right: 4px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-carousel__item { flex: 0 0 50%; }
}

/* --- Gallery Page --- */
.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-page__item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: all 0.3s var(--ease);
}
.gallery-page__item:hover {
  border-color: rgba(255,165,0,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.gallery-page__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-page__item:hover img {
  transform: scale(1.05);
}
.gallery-page__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-page__item:hover .gallery-page__item-overlay { opacity: 1; }
.gallery-page__item-caption {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.gallery-page__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,165,0,0.9);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.gallery-page__item:hover .gallery-page__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.gallery-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.gallery-page__back:hover { color: var(--accent); }

@media (max-width: 768px) {
  .gallery-page__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  border-color: rgba(255,165,0,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #FFB800;
  font-size: 14px;
}
.testimonial-card__text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}
.testimonial-card__text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 28px;
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--surface-border);
  padding-top: 16px;
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-card__name {
  display: block;
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
}
.testimonial-card__role {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials { padding: 72px 0; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px; }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(8px);
}
.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.lightbox__close:hover { background: rgba(255,165,0,0.5); }

.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  background: rgba(0,0,0,0.6);
  padding: 8px 20px;
  border-radius: 50px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.lightbox__nav:hover { background: rgba(255,165,0,0.5); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */

@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 24px;
  }

  .hero__visual { order: -1; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 160px;
    margin-top: -60px;
    margin-left: auto;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  .container { padding: 0 20px; }

  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 48px; }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .stat__number { font-size: 32px; }

  .about, .services, .pricing, .faq, .contact, .gallery { padding: 72px 0; }

  .services__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; }

  .about__features { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: span 1; }

  .float-actions { bottom: 20px; right: 20px; }
  .float-btn { width: 48px; height: 48px; font-size: 18px; }

  .hero__actions .btn { width: 100%; justify-content: center; }

  .map-section { height: 280px; }

  .cta-banner { padding: 60px 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero__desc { font-size: 16px; }
  .pricing-card { padding: 28px 24px; }
  .contact__form { padding: 28px 24px; }
  .stats { padding: 36px 0; }
  .stat__number { font-size: 28px; }
  .stat__label { font-size: 12px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(15, 15, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 165, 0, 0.3);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.cookie-btn--accept {
  background: var(--accent);
  color: #000;
}
.cookie-btn--accept:hover {
  background: #ffb833;
  transform: translateY(-1px);
}

.cookie-btn--reject {
  background: transparent;
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cookie-btn--reject:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}
