/* ==========================================
   T&Cit - Tax and Customs IT Solutions
   Main Stylesheet
   Identity Manual 2026
   Colors: Blue #4572C2, Grey #A9A9A9, Black #000000
   Typography: Arial Black / Arial (Sans Serif)
   ========================================== */

/* --- CUSTOM PROPERTIES (2026 Identity Manual) --- */
:root {
  /* Brand Colors */
  --brand-blue: #4572C2;
  --brand-blue-dark: #365a9e;
  --brand-blue-light: #5a85d1;
  --brand-grey: #A9A9A9;
  --brand-grey-light: #d4d4d4;
  --brand-black: #000000;

  /* Functional Colors */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px rgba(69, 114, 194, 0.15);
  --shadow-lg: 0 15px 40px rgba(69, 114, 194, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;

  /* Transition */
  --transition: 0.3s ease;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* --- TYPOGRAPHY (Arial Black for headings, Arial for body) --- */
h1, h2, h3, h4, h5, h6,
.card-title-badge,
.price-tag {
  font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  font-weight: 900;
}

/* --- FOCUS STYLES (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

/* --- SKIP LINK (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--brand-black);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
  background-color: var(--bg-white);
  padding: 1rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--brand-blue);
}

.logo-container img {
  height: 45px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-list a {
  color: var(--brand-black);
  font-weight: 700;
  font-size: 1rem;
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--brand-blue);
}

.lang-btn {
  background-color: var(--brand-blue);
  color: var(--white);
  border: 2px solid var(--brand-blue);
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all var(--transition);
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background-color: var(--brand-black);
  border-color: var(--brand-black);
  color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--brand-black);
}

/* --- HERO BANNER --- */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(69, 114, 194, 0.92) 0%, rgba(0, 0, 0, 0.88) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop') center / cover no-repeat;
  color: var(--white);
  padding: 6rem 8%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  max-width: 65ch;
  line-height: 1.7;
}

/* --- BRAND VALUES STRIP --- */
.brand-values {
  background-color: var(--brand-blue);
  color: var(--white);
  text-align: center;
  padding: 1rem 8%;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-values span {
  margin: 0 1.5rem;
}

/* --- BENEFITS SECTION --- */
.section-benefits {
  padding: 5rem 8%;
  background-color: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefits-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--brand-black);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.benefits-list {
  margin-bottom: 2.5rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.benefits-list .fa-check {
  color: var(--brand-blue);
  background-color: rgba(69, 114, 194, 0.1);
  padding: 5px;
  border-radius: 50%;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-cta {
  display: inline-block;
  background-color: var(--brand-blue);
  color: var(--white);
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(69, 114, 194, 0.35);
  transition: background-color var(--transition), transform 0.2s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background-color: var(--brand-blue-dark);
  transform: translateY(-2px);
}

.laptop-img-container img {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

/* --- PRODUCTS SECTION --- */
.section-products {
  background: linear-gradient(180deg, var(--brand-black) 0%, #1a1a1a 100%);
  padding: 5rem 8%;
  color: var(--white);
  text-align: center;
}

.section-products > h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-products > p {
  color: var(--brand-grey);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  text-align: left;
}

.product-card {
  background-color: var(--bg-white);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--brand-blue);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-top {
  padding: 2.5rem 2rem 1.5rem;
}

.card-title-badge {
  font-size: 1.8rem;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.card-laptop-preview {
  width: 100%;
  margin: 1rem 0;
}

.card-list {
  margin-top: 1rem;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.card-list li::before {
  content: "•";
  color: var(--brand-blue);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Card action buttons */
.price-tag {
  background-color: var(--brand-blue);
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 2rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-btn-blue {
  background-color: var(--brand-blue);
  color: var(--white);
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 2rem 2rem;
  display: block;
  transition: background-color var(--transition);
}

.contact-btn-blue:hover,
.contact-btn-blue:focus-visible {
  background-color: var(--brand-blue-dark);
}

/* --- CONTACT SECTION --- */
.section-contact {
  padding: 4rem 8%;
  background-color: var(--bg-light);
}

.contact-card {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--white);
  object-fit: cover;
}

.profile-details h3 {
  font-size: 1.6rem;
}

.profile-details p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.social-icons {
  margin-top: 0.5rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.2rem;
  margin-right: 12px;
  transition: opacity var(--transition);
}

.social-icons a:hover {
  opacity: 0.8;
}

.contact-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-transform: uppercase;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--white);
}

.contact-item a:hover {
  text-decoration: underline;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--brand-black);
  color: var(--brand-grey);
  text-align: center;
  padding: 1.5rem 8%;
  font-size: 0.85rem;
  border-top: 3px solid var(--brand-blue);
}

.site-footer a {
  color: var(--brand-blue-light);
}

.site-footer a:hover {
  text-decoration: underline;
}

/* --- LANGUAGE TOGGLE VISIBILITY --- */
.lang-es,
.lang-en {
  display: none;
}

html[lang="es"] .lang-es { display: block; }
html[lang="es"] span.lang-es,
html[lang="es"] a.lang-es,
html[lang="es"] h4.lang-es { display: inline; }
html[lang="es"] li.lang-es { display: flex; }

html[lang="en"] .lang-en { display: block; }
html[lang="en"] span.lang-en,
html[lang="en"] a.lang-en,
html[lang="en"] h4.lang-en { display: inline; }
html[lang="en"] li.lang-en { display: flex; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .site-header {
    padding: 1rem 5%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 4rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-list.is-open {
    right: 0;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .nav-overlay.is-visible {
    display: block;
  }

  .hero-banner {
    padding: 4rem 5%;
    min-height: 300px;
  }

  .brand-values span {
    margin: 0 0.5rem;
    display: inline-block;
  }

  .brand-values {
    font-size: 0.8rem;
    padding: 0.8rem 5%;
  }

  .section-benefits,
  .section-products,
  .section-contact {
    padding: 3rem 5%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .benefits-content h2 {
    text-align: center;
  }

  .benefits-list li {
    text-align: left;
  }

  .cards-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .profile-info {
    flex-direction: column;
  }

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

  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .card-title-badge {
    font-size: 1.4rem;
  }

  .profile-details h3 {
    font-size: 1.3rem;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .brand-values span {
    display: block;
    margin: 0.2rem 0;
  }
}

/* --- PRINT STYLES --- */
@media print {
  .site-header,
  .menu-toggle,
  .lang-btn,
  .nav-overlay,
  .brand-values {
    display: none;
  }

  .hero-banner {
    background: var(--brand-blue);
    padding: 2rem;
  }

  .section-products {
    background: var(--brand-black);
  }

  body {
    font-size: 12pt;
    color: var(--brand-black);
  }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
