/* Nuevo diseño para Domain Accounting Services */

:root {
  /* Nueva paleta de colores */
  --primary: #2C3E50;      /* Azul oscuro */
  --secondary: #E74C3C;    /* Rojo */
  --accent: #3498DB;       /* Azul claro */
  --light: #ECF0F1;        /* Gris claro */
  --dark: #2C3E50;         /* Azul oscuro */
  --text: #333333;         /* Texto oscuro */
  --white: #FFFFFF;        /* Blanco */
  --success: #2ECC71;      /* Verde */
  --warning: #F39C12;      /* Naranja */
  
  /* Dimensiones */
  --header-height: 80px;
  --footer-height: 120px;
  --section-padding: 5rem 2rem;
  --border-radius: 8px;
  
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Tipografía */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--secondary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container1 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}


/* Secciones */
section {
  padding: var(--section-padding);
  position: relative;
}

section:nth-child(odd) {
  background-color: var(--light);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: var(--accent);
}

.btn-secondary:hover {
  background-color: var(--secondary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 40px;
  width: auto;
}

.logo-text {
  margin-left: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

/* Navigation */
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-speed);
}

nav ul li a:hover {
  color: var(--secondary);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  margin-left: 1rem;
}

.mobile-menu-btn button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  transition: all var(--transition-speed);
  border-radius: 3px;
}

/* Main Content */
main {
  margin-top: var(--header-height);
  flex: 1;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 0;
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../img/EJjHfX.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 3rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  color: var(--light);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero .btn {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* About Section */
.about {
  padding: var(--section-padding);
  background-color: var(--white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-content {
  padding: 2rem;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.service-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.service-price {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 30px;
  font-weight: 700;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

/* Benefits Section */
.benefits {
  padding: var(--section-padding);
  background-color: var(--white);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--light);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  height: 100%;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.benefit-item h3 {
  margin-bottom: 1rem;
}

/* Licenses Section */
.licenses {
  padding: var(--section-padding);
  background-color: var(--light);
  text-align: center;
}

.licenses-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.licenses ul {
  text-align: left;
  list-style-position: inside;
  margin: 2rem auto;
  max-width: 600px;
}

.licenses ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.licenses ul li:before {
  content: '✓';
  color: var(--success);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* How We Work Section */
.how-we-work {
  padding: var(--section-padding);
  background-color: var(--white);
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4rem;
  gap: 2rem;
}

.process-step {
  flex: 1 1 200px;
  max-width: 250px;
  position: relative;
  padding: 0 1rem;
  text-align: center;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.process-step h3 {
  margin-bottom: 1rem;
}

/* Blog Section */
.blog {
  padding: var(--section-padding);
  background-color: var(--light);
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-content h3 {
  color: var(--primary);
  margin-top: 2rem;
}

.blog-content h4 {
  color: var(--secondary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Form Section */
.contact {
  padding: var(--section-padding);
  background-color: var(--white);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: var(--primary);
}

input, textarea, select {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
  background-color: var(--white);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.contact .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--light);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* Legal pages */
.legal-page {
  padding: var(--section-padding);
  padding-top: calc(var(--header-height) + 3rem);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
}

.legal-page h2 {
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.legal-page h2:after {
  left: 0;
  transform: none;
  width: 60px;
}

.legal-page p, .legal-page ul, .legal-page ol {
  margin-bottom: 1.5rem;
}

.legal-page ul, .legal-page ol {
  padding-left: 2rem;
}

.legal-page li {
  margin-bottom: 0.8rem;
}

/* Thank You Page */
.thanks {
  padding: var(--section-padding);
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../img/EJjHfX.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.thanks-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.thanks h1 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.thanks p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.thanks .btn {
  margin-top: 1.5rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .process-step {
    flex-basis: calc(50% - 2rem);
    margin-bottom: 2rem;
  }
  
  .process-step:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --section-padding: 3rem 1rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--white);
    overflow: hidden;
    transition: height var(--transition-speed);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    margin-left: 0;
  }
  
  nav.active {
    height: calc(100vh - var(--header-height));
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem;
    align-items: center;
  }
  
  nav ul li {
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    text-align: center;
  }
  
  nav ul li:last-child {
    border-bottom: none;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .process-step {
    flex-basis: 100%;
  }
  
  .process-step::after {
    display: none;
  }
  
  .form-container,
  .blog-content,
  .licenses-content,
  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding: 2.5rem 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .services-grid,
  .benefits-list,
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-actions {
    width: 100%;
  }
  
  .footer-column h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-column {
    text-align: center;
  }
} 