/* =============================================================
   AirEdge Clone — Shared Stylesheet
   All pages link to this single CSS file.
   ============================================================= */

/* ===== FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800;900&display=swap');

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:      #f5f0ed;
  --white:   #ffffff;
  --black:   #0a0a0a;
  --pink:    #f5dce8;
  --blue:    #dce8f5;
  --gray:    #888888;
  --font:    'Onest', sans-serif;
  --radius:  20px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
}

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; border-radius: var(--radius); }

/* ===== NAVBAR ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(245,240,237,0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 26px;
  height: 26px;
  background: var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s ease;
}

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

/* ===== BUTTONS ===== */
.btn-dark {
  background: var(--black);
  color: white;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.btn-dark:hover { opacity: 0.75; }

.btn-primary {
  display: inline-block;
  background: var(--black);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-primary:hover {
  transform: scale(1.04);
  opacity: 0.85;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--black);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--black);
  color: white;
}

.btn-small {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.anim-up  { animation: fadeInUp 0.8s ease both; }
.anim-up2 { animation: fadeInUp 0.8s ease 0.2s both; }
.anim-up3 { animation: fadeInUp 0.8s ease 0.4s both; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 100px 48px 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 800px;
  margin: 0 auto 20px;
}

.page-hero p {
  font-size: 1rem;
  color: #555;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 80px 48px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 40px;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.stat-box:hover { transform: translateY(-6px); }
.stat-box h3 { font-size: 2.4rem; font-weight: 900; }
.stat-box p  {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== CARD CAROUSEL ===== */
.cards-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cards-track::-webkit-scrollbar { display: none; }

.pkg-card {
  min-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--blue);
  border-radius: 24px;
  padding: 28px 22px;
  transition: transform 0.25s;
}

.pkg-card:nth-child(even) { background: var(--pink); }
.pkg-card:hover { transform: scale(1.03); }
.pkg-card h4    { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.pkg-card .meta { font-size: 0.78rem; color: #555; margin-bottom: 3px; }
.pkg-card .price { font-size: 1.6rem; font-weight: 900; margin-top: 16px; }

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

.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.svc-card:hover { transform: translateY(-4px); }
.svc-card img   { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.svc-card-body  { padding: 20px; }
.svc-card-body h4 { font-size: 1rem; font-weight: 700; }

/* ===== STEPS GRID ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.step-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #e8e8e8;
  line-height: 1;
  margin-bottom: 10px;
}

.step-item h4 { font-size: 0.95rem; font-weight: 700; }

/* ===== BENEFITS LAYOUT ===== */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits-layout h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.benefits-layout > div > p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 20px;
}

.benefits-list { list-style: none; }

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.benefits-list li::before {
  content: '✓';
  background: black;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefits-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.benefit-card {
  background: var(--white);
  border-radius: 18px;
  padding: 24px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.benefit-card.pink { background: var(--pink); }
.benefit-card.blue { background: var(--blue); }

/* ===== TESTIMONIALS ===== */
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  font-weight: 900;
  color: #f0e8f5;
  position: absolute;
  top: 8px;
  left: 18px;
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #999;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s;
}

.team-card:hover { transform: translateY(-5px); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  margin: 0 auto 14px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card h4   { font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.team-card span  { font-size: 0.78rem; color: #999; }
.team-socials    { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.team-socials a  { font-size: 0.78rem; font-weight: 600; text-decoration: underline; color: #555; }
.team-socials a:hover { color: var(--black); }

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s;
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body { padding: 22px; }
.blog-meta      { display: flex; gap: 10px; margin-bottom: 10px; }

.tag {
  background: var(--bg);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
}

.blog-date      { font-size: 0.78rem; color: var(--gray); }
.blog-card h3   { font-size: 1.05rem; font-weight: 800; line-height: 1.35; }

/* ===== ABOUT STRIP (2-col) ===== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 48px;
  background: white;
}

.about-strip h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.about-strip p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ===== SERVICE LIST (split layout) ===== */
.services-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.service-list-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.service-list-item a {
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.2s;
}

.service-list-item a:hover { opacity: 0.6; }

/* ===== CTA SECTION (dark) ===== */
.cta-dark {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 80px 48px;
}

.cta-dark h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-dark p {
  color: #999;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--pink);
  border-radius: 28px;
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  background: white;
}

.form-group textarea { height: 130px; resize: none; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover { opacity: 0.8; }

/* ===== MISSION GRID (about page) ===== */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 48px;
  background: white;
}

.mission-block h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aaa;
  margin-bottom: 12px;
}

.mission-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.mission-block p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ===== VALUES MARQUEE (about page) ===== */
.values-section {
  padding: 80px 48px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.values-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.marquee-wrap {
  overflow: hidden;
  border-radius: 50px;
  background: white;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.value-tag {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
  flex-shrink: 0;
}

/* ===== PHOTO GRID (about page) ===== */
.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 0 48px 80px;
  background: linear-gradient(160deg, var(--pink) 0%, var(--blue) 30%, #f0f4f8 60%);
}

.photo-box {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.photo-box.tall  { height: 360px; }
.photo-box.short { height: 280px; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: white;
  padding: 0;
}

.footer-newsletter {
  background: #111;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-newsletter p.label {
  font-size: 0.78rem;
  color: #666;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-newsletter h3 {
  font-size: 1.35rem;
  font-weight: 800;
  max-width: 360px;
  line-height: 1.35;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 13px 22px;
  border-radius: 50px;
  border: none;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  min-width: 240px;
  background: white;
  color: var(--black);
}

.newsletter-form button {
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  background: white;
  color: var(--black);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.newsletter-form button:hover { opacity: 0.75; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 48px 0;
}

.footer-brand .logo {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .logo .dot {
  width: 26px;
  height: 26px;
  background: white;
  color: var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: #666;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: white; }

.footer-bottom {
  margin: 40px 48px 0;
  padding: 24px 0 28px;
  border-top: 1px solid #1e1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.78rem; color: #444; }

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.7rem;
  font-weight: 800;
  transition: all 0.2s;
}

.footer-socials a:hover {
  border-color: white;
  color: white;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 50px;
  transition: background 0.2s;
}

.lang-switch a.active {
  background: var(--black);
  color: white;
}

.lang-switch a:hover:not(.active) {
  background: rgba(0,0,0,0.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }

  section { padding: 60px 20px; }

  .about-strip,
  .benefits-layout,
  .contact-layout,
  .mission-grid,
  .services-split { grid-template-columns: 1fr; gap: 30px; }

  .benefits-cards { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .photo-box.tall, .photo-box.short { height: 240px; }

  .values-section { grid-template-columns: 1fr; gap: 30px; padding: 60px 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 20px 0; }
  .footer-newsletter { padding: 40px 20px; }
  .footer-bottom { margin: 30px 20px 0; padding: 20px 0; }

  .cta-dark { padding: 60px 20px; }
  .page-hero { padding: 80px 20px 60px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
