/* ===================================================
   BILETEAVIA.ONLINE — Global Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');display=swap');

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

:root {
  --teal:       #4DBDAD;
  --teal-dark:  #3AA898;
  --teal-deep:  #2A8A7C;
  --teal-light: #7DD4C8;
  --teal-pale:  #E8F7F5;
  --navy:       #1A2B3C;
  --navy-light: #223348;
  --white:      #FFFFFF;
  --off-white:  #F7FAFA;
  --gray-100:   #EDF1F1;
  --gray-300:   #C2CDCD;
  --gray-500:   #7E9090;
  --gray-700:   #445555;
  --text:       #1A2B2B;
  --radius:     4px;
  --shadow:     0 2px 16px rgba(26,43,60,0.08);
  --shadow-md:  0 4px 32px rgba(26,43,60,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--gray-700); font-size: 0.97rem; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

/* === LAYOUT === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
section { padding: 80px 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #ffffff;
  
  border-bottom: 1px solid #e8edf0; box-shadow: 0 2px 12px rgba(26,43,60,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 63px; width: auto; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--navy) !important;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--teal-dark); }

.nav-cta { font-size: 0.85rem; padding: 0.55rem 1.3rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.25s; }
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white); padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-100);
}
.mobile-nav a {
  color: var(--navy);
  font-size: 0.95rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e8edf0; box-shadow: 0 2px 12px rgba(26,43,60,0.08);
}
.mobile-nav.open { display: flex; }

/* === HERO === */
.hero {
  background: var(--navy);
  padding-top: 155px;
  padding-bottom: 95px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.5;
}
/* Subtle teal grid */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(77,189,173,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,189,173,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
/* Glow blob */
.hero-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(77,189,173,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(77,189,173,0.12);
  border: 1px solid rgba(77,189,173,0.3);
  color: var(--teal-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5px;
  background: var(--gray-300);
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.service-card { background: var(--white); padding: 2rem 1.75rem; transition: background 0.2s; }
.service-card:hover { background: var(--off-white); }
.service-icon {
  width: 40px; height: 40px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 20px; height: 20px; stroke: var(--teal-dark); fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 0.97rem; margin-bottom: 0.45rem; }
.service-card p { font-size: 0.85rem; }

/* === HOW IT WORKS === */
.section-how { background: var(--navy); }
.section-how .section-label { color: var(--teal-light); }
.section-how h2 { color: var(--white); }
.section-how .section-header { text-align: center; max-width: 520px; margin: 0 auto; }
.section-how .section-header p { color: rgba(255,255,255,0.55); margin-top: 0.75rem; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3.5rem;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(77,189,173,0.15));
}
.step { text-align: center; padding: 0 1.25rem; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative; z-index: 1;
}
.step h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.83rem; color: rgba(255,255,255,0.5); }

/* === PAYMENT === */
.section-payment { background: var(--off-white); }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 3.5rem; }
.section-header p { margin-top: 0.75rem; }

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}
.payment-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex; align-items: flex-start; gap: 1rem;
  box-shadow: var(--shadow);
}
.payment-icon {
  width: 44px; height: 44px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.payment-icon svg { width: 22px; height: 22px; stroke: var(--teal-dark); fill: none; stroke-width: 1.8; }
.payment-card h3 { font-size: 0.97rem; margin-bottom: 0.35rem; }
.payment-card p { font-size: 0.84rem; }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; stroke: var(--teal-dark); fill: none; stroke-width: 2; }
.contact-detail strong { display: block; font-size: 0.78rem; color: var(--gray-500); margin-bottom: 2px; font-weight: 500; }
.contact-detail span { font-size: 0.92rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-dark); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.25rem; }

/* === FOOTER === */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 50px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 2rem;
}
.footer-brand .logo img { height: 60px; width: auto; opacity: 0.7; }
.footer-brand p { color: rgba(255,255,255,0.48); font-size: 0.82rem; margin-top: 0.85rem; max-width: 250px; line-height: 1.65; }
.footer-legal { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-legal p { font-size: 0.74rem; color: rgba(255,255,255,0.38); line-height: 1.75; }
.footer-col h4 { color: var(--white); font-size: 0.84rem; font-weight: 600; margin-bottom: 1rem; font-family: 'Roboto', sans-serif; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.52); font-size: 0.83rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { font-size: 0.79rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.79rem; color: rgba(255,255,255,0.42); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--white); }

/* === INNER PAGES === */
.page-hero {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.45;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-hero p { color: rgba(255,255,255,0.6); margin-top: 0.75rem; font-size: 0.97rem; }

.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--gray-100); padding: 10px 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--gray-500); }
.breadcrumb-inner a { color: var(--teal-dark); }

.page-content { padding: 60px 0 80px; max-width: 820px; margin: 0 auto; }
.page-content h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 0.85rem; font-size: 0.95rem; line-height: 1.8; }
.page-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 0.85rem; }
.page-content ul li { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 0.4rem; }

.placeholder {
  background: rgba(77,189,173,0.1);
  border: 1px dashed var(--teal);
  border-radius: 3px;
  padding: 0 5px;
  color: var(--teal-deep);
  font-size: 0.85em;
  font-weight: 600;
}

.notice-box {
  background: rgba(77,189,173,0.07);
  border-left: 3px solid var(--teal);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-row::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .payment-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 110px; padding-bottom: 65px; }
  .steps-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .services-grid { grid-template-columns: 1fr; }
}


/* === FOOTER PAYMENT ICONS === */
.footer-payment {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 1.5rem;
}
.footer-payment img {
  height: 28px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-payment img:hover { opacity: 1; }
