/* Ybravo Website - Modern Vibrant Redesign */
:root {
  --red: #e30613;
  --red-dark: #b8050f;
  --red-light: #ff3b45;
  --navy: #0a1628;
  --navy-mid: #132337;
  --green: #1a5c3a;
  --green-light: #2d8a55;
  --green-pale: #e8f5ee;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 25px 50px rgba(10, 22, 40, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ========== HEADER / NAV ========== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.header-top {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: white;
  text-align: center;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--red) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  background: var(--red-light) !important;
  transform: translateY(-1px);
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.4);
}

.phone-btn:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 6, 19, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.png') center/cover no-repeat;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  color: white;
}

.hero-badge {
  display: inline-block;
  background: rgba(227, 6, 19, 0.9);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--red-light);
}

.hero p {
  font-size: 1.25rem;
  max-width: 540px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.5;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(227, 6, 19, 0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

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

.btn-dark {
  background: var(--navy);
  color: white;
}

.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--green-pale) 100%);
}

.section-dark {
  background: var(--navy);
  color: white;
}

.section-green {
  background: linear-gradient(135deg, var(--green) 0%, #0f3d28 100%);
  color: white;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-dark .section-header .eyebrow,
.section-green .section-header .eyebrow {
  color: #ff8a8f;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
}

.section-dark .section-header p,
.section-green .section-header p {
  color: rgba(255,255,255,0.8);
}

/* ========== PRODUCT CARDS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.product-card-img img {
  max-height: 240px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15));
  transition: var(--transition);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 28px;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--navy);
}

.product-card p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.product-card .btn {
  width: 100%;
}

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

.feature-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-left: 4px solid var(--red);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card.green-accent {
  border-left-color: var(--green-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card.green-accent .feature-icon {
  background: linear-gradient(135deg, var(--green-light), var(--green));
}

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ========== SPECS / DETAILS ========== */
.specs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .specs-layout {
    grid-template-columns: 1fr;
  }
}

.product-hero-img {
  background: linear-gradient(160deg, #e8f0f7, #d1dce8);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.product-hero-img img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.detail-block {
  margin-bottom: 28px;
}

.detail-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.detail-block p,
.detail-block ul {
  color: var(--gray-600);
  font-size: 0.98rem;
}

.detail-block ul {
  list-style: none;
  padding-left: 0;
}

.detail-block li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.detail-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.specs-box {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}

.specs-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ff8a8f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specs-box p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* ========== SUPPORT CARDS ========== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.support-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.support-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
}

.support-card .icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--green-pale), #d4edda);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--green);
}

.support-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.support-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.support-card a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
}

.support-card a:hover {
  text-decoration: underline;
}

/* ========== LEGACY ========== */
.legacy-banner {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-radius: var(--radius);
  padding: 40px;
  color: white;
  margin-bottom: 40px;
}

.legacy-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.legacy-banner p {
  opacity: 0.85;
  max-width: 600px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-row .icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-row strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.contact-cta-box {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius);
  padding: 36px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.contact-cta-box p {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.footer-brand .logo-text {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
  opacity: 0.75;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 60%, var(--green) 100%);
  color: white;
  padding: 60px 24px 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227,6,19,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #ff8a8f;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
}

/* ========== MISC ========== */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
  color: white;
}

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .nav-links.open a {
    padding: 12px 16px;
  }
}

/* Decorative elements */
.wave-divider {
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8fafc' d='M0,32L80,37.3C160,43,320,53,480,48C640,43,800,21,960,16C1120,11,1280,21,1360,26.7L1440,32L1440,60L1360,60C1280,60,1120,60,960,60C800,60,640,60,480,60C320,60,160,60,80,60L0,60Z'%3E%3C/path%3E%3C/svg%3E") center/cover no-repeat;
  margin-top: -1px;
}

.cta-banner {
  background: linear-gradient(90deg, var(--red-dark), var(--red), #ff4d57);
  color: white;
  padding: 48px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.95;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.footer-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  margin-bottom: 12px;
  display: block;
}
