/* ==================== RESET Y VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg:#0f172a;
    --color-text:#ffffff;
    --color-primary: #D4B483;
    --color-gray:#999999;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
    color:var(--color-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 24px;
    font-weight:600;
    color:var(--color-primary);
}

  .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 25px;
  background: #D4B483;
  color: #0f172a;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;

  border: none;
  cursor: pointer;
  appearance: none;

  position: relative;
  overflow: visible;

  transition: all 0.3s ease;
}

    .btn::before {
      content: "";
      position: absolute;
      width: 200%;
      height: 200%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      background: rgba(255,255,255,0.2);
      border-radius:50%;
      transition: transform 0.6s ease;
    }

    .btn:hover::before {
      transform: translate(-50%, -50%) scale(1);
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(56,189,248,0.4);
    }

/* ==================== HEADER ==================== */
.site-header {
    top: 0;
    padding: 15px 35px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.logo img {
    max-width: 300px;
    height: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    color: var(--color-primary);
    font-weight: 400;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--color-gray);
    border-bottom-color: var(--color-gray);
}

.menu-toggle {
    display: none;
    color: var(--color-text);
    font-size: 24px;
    cursor: pointer;
}

/* ==================== HERO ==================== */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px;
}

.hero-content {
    text-align: center;
    max-width: 450px;
}

.hero-word {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.2;
}

.highlight{
    color: var(--color-text);
}

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


/* ==================== INTRO ==================== */
.intro-section {
    padding: 60px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top:40px;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
}

.image-caption {
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
    color:var(--color-gray);
}

.intro-text p {
    margin-bottom: 20px;
}


/*==================== SERVICIOS ===================== */

.services-section {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    .card {
      background: #1e293b;
      padding: 30px;
      border-radius: 20px;
      transition: all 0.4s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center; /* Esto centra todo el contenido horizontalmente */
      text-align: center;
    }

    .card ul {
      text-align: left;
      display: inline-block;
      margin: 0 auto;
      padding-left: 20px;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent, rgba(56,189,248,0.2), transparent);
      opacity: 0;
      transition: 0.5s;
    }

    .card:hover::before {
      opacity: 1;
    }

    .card:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    }

    .card h2, .card h3 {
      margin-bottom: 15px;
      color: #D4B483;
      font-weight: 400;
    }

    .container{
        padding:40px 20px;
    }

    .faq-grid{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-top:40px;
    }

    .services-end{
        padding:60px 0;
        text-align:center;
    }

    .services-end h3{
        font-size: 32px;
        color:var(--color-primary);
        font-weight: 400;
    }


/* ==================== CONTACTO ==================== */
.contact-section {
    padding: 40px 0;
}

.contact-header {
    text-align: center;
}

.contact-grid {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px 40px;
    place-items: center;
    text-align: center;
}

.contact-form form{
    margin-top: 20px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline-style: solid white;
}

.contact-form button {
    display: block;
    margin: 10px auto;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
    margin-top:20px;
}

/* ==================== FOOTER ==================== */
.site-footer {
    border-top: 1px solid var(--color-primary);
    padding:20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
    text-align: center;
}

.footer-copyright{
    color:var(--color-text);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--color-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.footer-copyright p {
    margin: 0;
}

/* ==================== SCROLL TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 999;
}

.scroll-top.show {
    display: block;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .intro-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-word {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        justify-content: flex-end;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 20px;
        gap: 15px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        color: var(--color-bg);
    }
    
    .hero-section {
        padding:40px 20px;
    }
    
    .hero-word {
        font-size: 36px;
    }
    
    .services-section {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-word {
        font-size: 28px;
    }
    
    .contact-grid {
        padding: 20px;
    }
}

