:root {
  /* Brand Colors from Logo */
  --brand-red: #c0181e;
  --brand-red-hover: #a31419;
  --brand-orange: #ff9f1c;
  --brand-orange-light: #faecd9;
  
  /* Warm Beige Theme variables */
  --paper: #f4ede4;
  --white: #fffdf9;
  
  /* Text */
  --text-main: #2b1112; /* Very dark red/black instead of brown */
  --text-muted: #6e5052; /* Muted reddish-gray */
  --text-light: #f4ede4;
  
  /* UI Elements */
  --border: #e8dbce;
  --glass-bg: rgba(255, 253, 249, 0.85);
  --glass-border: rgba(232, 219, 206, 0.4);
  --shadow-sm: 0 4px 6px -1px rgba(43, 17, 18, 0.05), 0 2px 4px -1px rgba(43, 17, 18, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(43, 17, 18, 0.08);
  --shadow-glow: 0 0 25px rgba(192, 24, 30, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  height: 90px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.brand {
  width: 220px;
  height: 70px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.brand img {
  height: 70px;
  width: 100%;
  object-fit: contain;
  transform: scale(1.3);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.7vw, 40px);
  margin-left: auto;
}

.desktop-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--brand-red);
}

.desktop-nav a:after {
  content: "";
  height: 3px;
  border-radius: 3px;
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  background: var(--brand-orange);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a:hover:after {
  right: 0;
}

.desktop-nav a.webmail-nav-link,
.desktop-nav a.restricted-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-red);
  font-weight: 700;
  padding: 8px 16px;
  background: rgba(192, 24, 30, 0.08);
  border: 1px solid rgba(192, 24, 30, 0.2);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a.webmail-nav-link:hover,
.desktop-nav a.restricted-nav-link:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(192, 24, 30, 0.25);
  transform: translateY(-1px);
}

.desktop-nav a.webmail-nav-link:after,
.desktop-nav a.restricted-nav-link:after {
  display: none;
}

.webmail-mobile-link,
.restricted-mobile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-red) !important;
  font-weight: 700 !important;
}

.footer-webmail-link,
.footer-restricted-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-red) !important;
  font-weight: 600;
  margin-top: 4px;
  transition: opacity 0.2s ease;
}

.footer-webmail-link:hover,
.footer-restricted-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.whatsapp {
  background: var(--brand-red);
  color: #fff;
  border-radius: 50px; /* Pill shape for premium feel */
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(192, 24, 30, 0.2);
  transition: all 0.3s ease;
}

.whatsapp:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 52% 48%;
  overflow: hidden;
  background: var(--white);
}

.hero-copy {
  color: var(--text-main);
  padding: 120px clamp(34px, 5.2vw, 84px) 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  color: var(--text-main);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-orange);
  margin: 0 0 20px;
  font-family: 'Inter', sans-serif;
}

.hero h1 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.05;
  max-width: 680px;
  margin: 0;
}

.hero-name {
  color: var(--brand-red);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  margin: 24px 0 44px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  min-height: 56px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}

.button:hover {
  transform: translateY(-3px);
}

.button span {
  font-size: 20px;
  transition: transform 0.3s;
}

.button:hover span {
  transform: translateX(4px);
}

.button.primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(192, 24, 30, 0.25);
}

.button.primary:hover {
  background: var(--brand-red-hover);
  box-shadow: var(--shadow-glow);
}

.button.outline {
  border: 1px solid var(--border);
  color: var(--text-main);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.button.outline:hover {
  background: var(--paper);
  border-color: var(--text-muted);
}

.button.orange {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.3);
}

.button.orange:hover {
  background: #f09214;
  box-shadow: 0 0 20px rgba(255, 159, 28, 0.4);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: clamp(34px, 5.2vw, 84px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.scroll-cue:hover {
  color: var(--brand-red);
}

.scroll-cue span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--brand-orange);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

.hero-photo {
  background: url("images/foto2.jpg") center/cover no-repeat;
  position: relative;
  min-height: 760px;
  border-bottom-left-radius: 40px;
  overflow: hidden;
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, transparent 40%);
}

.price-card {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  min-width: min(480px, 88%);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  transition: transform 0.3s;
}

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

.price-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--brand-orange), #ffb247);
  border-radius: 20px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(255, 159, 28, 0.25);
}

.price-card strong {
  font-size: 20px;
  line-height: 1.2;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-card small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.price-card small b {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 16px;
}

.price-card > a {
  margin-left: auto;
  color: var(--white);
  background: var(--brand-red);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all 0.3s;
}

.price-card > a:hover {
  background: var(--brand-red-hover);
  transform: translateX(4px);
}

/* Benefits Strip */
.quick-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px clamp(30px, 7vw, 110px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.quick-benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.quick-benefits span {
  font-size: 28px;
  color: var(--brand-red);
  background: #fef2f2;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.quick-benefits strong {
  line-height: 1.4;
  font-weight: 700;
  color: var(--text-main);
}

.section {
  padding: 120px clamp(26px, 6vw, 96px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-heading h2,
.about h2,
.plan-copy h2,
.contact h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  margin: 0 0 24px;
}

.section-heading > p:last-child,
.about-copy > p,
.plan-copy > p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-grid article {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-grid article:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 159, 28, 0.3);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  border-radius: 16px;
  font-size: 28px;
  margin-bottom: 30px;
  transition: all 0.4s;
}

.service-grid article:hover .service-icon {
  background: var(--brand-orange);
  color: #fff;
  transform: scale(1.05) rotate(5deg);
}

.service-grid h3 {
  font-size: 22px;
  margin: 0 0 16px;
}

.service-grid p {
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-grid a {
  font-weight: 700;
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-top: auto;
}

.service-grid a:hover {
  color: var(--brand-red-hover);
}

/* About Section */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
  padding: 120px clamp(26px, 6vw, 96px);
  background: var(--white);
}

.about-images {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}

.about-main {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.about-small {
  position: absolute;
  width: 50%;
  height: 320px;
  object-fit: cover;
  right: -20px;
  bottom: -20px;
  border: 16px solid var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.about-copy ul,
.plan-copy ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 40px;
  display: grid;
  gap: 20px;
}

.about-copy li,
.plan-copy li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 16px;
}

.about-copy li:before,
.plan-copy li:before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

/* Structure Section */
.structure {
  background: var(--paper);
}

.section-heading.light {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 24px;
}

.gallery figure {
  margin: 0;
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%);
  pointer-events: none;
}

.gallery figcaption {
  position: absolute;
  left: 30px;
  bottom: 30px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.benefit-list span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.benefit-list span::first-letter {
  color: var(--brand-orange);
  font-weight: 900;
  font-size: 20px;
}

/* Plans Section */
.plans {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  background: var(--white);
}

.featured-plan {
  background: var(--white);
  padding: 56px;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.featured-plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.featured-plan > span {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.featured-plan > p {
  margin: 32px 0 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.featured-plan > strong {
  font-size: 68px;
  line-height: 1;
  color: var(--brand-red);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.04em;
}

.featured-plan > strong small {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 600;
}

.featured-plan em {
  font-style: normal;
  color: var(--text-muted);
  margin: 12px 0 44px;
  display: block;
  font-weight: 500;
}

.featured-plan > .button {
  margin-bottom: 24px;
  width: 100%;
}

.featured-plan > small {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Contact Section */
.contact {
  padding: 90px clamp(26px, 7vw, 110px);
  background: linear-gradient(135deg, rgba(192, 24, 30, 0.95), rgba(117, 13, 17, 0.9)), url("images/foto1.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  margin: 40px clamp(26px, 6vw, 96px);
}

.contact > div {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.contact h2 {
  margin: 0;
  color: #fff;
}

.contact .eyebrow {
  color: var(--brand-orange);
}

.contact .button {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* Footer */
footer {
  background: var(--white);
  color: var(--text-muted);
  padding: 80px clamp(26px, 6vw, 96px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--border);
}

footer strong {
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  display: block;
  margin-bottom: 24px;
}

footer p {
  line-height: 1.8;
}

.footer-brand img {
  width: 220px;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 350px;
}

footer a {
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 500;
}

footer a:hover {
  color: var(--brand-red);
}

.copyright {
  padding: 24px;
  text-align: center;
  background: var(--paper);
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 32px;
  z-index: 60;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background: #1ebc59;
}

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    height: 80px;
  }
  .brand {
    width: 180px;
  }
  .top-whatsapp {
    margin-left: auto;
  }
  
  .mobile-menu {
    display: block;
    position: relative;
  }
  
  .mobile-menu summary {
    font-size: 24px;
    cursor: pointer;
    list-style: none;
    color: var(--text-main);
  }
  
  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 56px;
    width: 240px;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--border);
  }
  
  .mobile-menu nav a {
    padding: 8px 0;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
  }

  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-copy {
    min-height: 650px;
    padding-top: 100px;
  }
  
  .hero-photo {
    min-height: 600px;
    border-bottom-left-radius: 0;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plans {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact {
    margin: 40px 20px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
  }
  
  .top-whatsapp span {
    display: none;
  }
  
  .hero-copy {
    padding: 80px 24px 100px;
    min-height: 580px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-actions {
    display: grid;
  }
  
  .button {
    width: 100%;
  }
  
  .scroll-cue {
    display: none;
  }
  
  .price-card {
    left: 20px;
    right: 20px;
    bottom: 20px;
    min-width: 0;
    gap: 16px;
    padding: 20px;
  }
  
  .price-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  
  .price-card strong {
    font-size: 16px;
  }
  
  .quick-benefits {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  
  .quick-benefits > div {
    justify-content: flex-start;
  }
  
  .section,
  .about {
    padding: 80px 24px;
  }
  
  .section-heading h2,
  .about h2,
  .plan-copy h2,
  .contact h2 {
    font-size: 34px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .about {
    grid-template-columns: 1fr;
  }
  
  .about-images {
    padding-right: 20px;
  }
  
  .about-main {
    height: 400px;
  }
  
  .about-small {
    height: 220px;
    width: 55%;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .gallery figure {
    height: 300px;
  }
  
  .benefit-list {
    grid-template-columns: 1fr;
  }
  
  .featured-plan {
    padding: 40px 24px;
  }
  
  .featured-plan > strong {
    font-size: 52px;
  }
  
  .contact {
    display: grid;
    text-align: center;
    border-radius: 24px;
  }
  
  .contact .button {
    max-width: 340px;
    margin: 0 auto;
  }
  
  footer {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
