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

:root {
  --primary-color: #1a1512;
  --secondary-color: #425641;
  --secondary-color-hover: #354634;
  --bg-color: #fcfbfa;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e5e5e5;
  --section-bg: #f5f3f0;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
header {
  background-color: transparent;
  padding: 30px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: none;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background-color: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
header.scrolled .header-logo {
  max-height: 45px !important;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
}
.logo-sub {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  display: block;
  text-transform: uppercase;
  font-style: normal;
  margin-top: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  color: var(--text-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav a:hover {
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--secondary-color-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
  padding-top: 80px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(26,21,18,1) 0%, rgba(26,21,18,0.85) 45%, rgba(26,21,18,0) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-subtitle {
  color: var(--secondary-color);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
  text-shadow: 
    -0.5px -0.5px 0 rgba(255,255,255,0.7),  
     0.5px -0.5px 0 rgba(255,255,255,0.7),
    -0.5px  0.5px 0 rgba(255,255,255,0.7),
     0.5px  0.5px 0 rgba(255,255,255,0.7);
}

.hero h1 {
  font-size: 54px;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
}

.feature-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-item p {
  font-weight: 600;
  font-size: 15px;
}

/* Plans */
.plans-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  position: relative;
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-10px);
}

.plan-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.plan-content {
  padding: 30px;
  text-align: center;
}

.plan-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.plan-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  font-size: 15px;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.plan-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Why Us */
.why-us-bg {
  background-color: var(--section-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.why-item h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.why-item p {
  font-size: 14px;
  color: #666;
}

/* About Overlay */
.about-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.about-bg-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.about-bg-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, var(--primary-color) 0%, transparent 100%);
}

.about-content {
  max-width: 50%;
  padding-right: 50px;
}

.about-content h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-feature span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-btn {
  text-align: center;
  margin-top: 40px;
}

/* Testimonials */
.testimonials-bg {
  background-color: var(--section-bg);
}

.test-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.test-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  flex: 1;
  min-width: 300px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.test-quote {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.test-stars {
  color: #FFD700;
  margin-bottom: 15px;
}

.test-author {
  font-weight: 600;
  font-size: 15px;
}

.test-company {
  font-size: 13px;
  color: #888;
}

/* CTA Footer */
.cta-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 40px 0 20px;
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.cta-text h2 {
  color: white;
  margin-bottom: 10px;
}

.cta-text p {
  color: #ccc;
  max-width: 500px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
}

.footer-info {
  display: flex;
  gap: 30px;
  color: #ccc;
  font-size: 14px;
}

.social-icons {
  display: flex;
  align-items: center;
  padding-right: 60px; /* Evita overlap con botón WSP */
}

.social-icons a {
  color: white;
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--secondary-color);
}

/* Floating WhatsApp */
.floating-wsp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.floating-wsp:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { max-width: 100%; padding-right: 0; }
  .cta-flex { flex-direction: column; text-align: center; gap: 30px; }
  
  .about-bg-image {
    width: 100%;
    opacity: 0.2;
  }
  .about-bg-image::before {
    background: linear-gradient(to top, var(--primary-color) 0%, transparent 100%);
  }
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .hero h1 { font-size: 40px; }
  .plans-grid, .test-grid { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; padding-bottom: 80px; }
  .footer-info { flex-direction: column; gap: 10px; }
  .social-icons { padding-right: 0; justify-content: center; margin-top: 10px; }
}
