:root {
  --primary: #000000;
  --secondary: #2563eb;
  --accent: #f59e0b;
  --mid-light: #444444;
  --border: #e5e7eb;
  --text: #1f2937;
  --text-light: #6b7280;
  --section-bg: linear-gradient(0deg, #999999 0%, #ffffff 50%);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.6;
}

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

/* HEADER */
#header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

#header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

#header-moto {
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  margin-left: 20px;
}

#header-img {
  height: 60px;
  width: auto;
}

#nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

#nav-menu {
  list-style: none;
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#lang-toggle {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

#lang-toggle:hover {
  background: var(--primary);
}

/* HERO */
#hero {
  background: linear-gradient(135deg, var(--primary) 0%, #5e5e5e 100%);
  color: white;
  padding: 80px 0;
}

#hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

#hero-left {
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: right;
  text-align: right;
}

#hero-name {
  color: #AAAAAA;
  font-style: italic;
  font-size: 3rem;
  font-weight: 500;
}

#hero-right h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0;
  font-weight: 700;
}

#hero-right p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-top: 30px;
  opacity: 0.95;
  line-height: 1.7;
}


/* SERVICES */
#services {
  padding: 90px 0;
  background: var(--section-bg);
}

#services h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary);
}

#services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:nth-child(4) {
  grid-column: 2;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}

.service-card h3 {
  font-size: 1.3rem;
  padding: 20px 20px 10px;
  color: var(--primary);
}

.service-card p {
  padding: 0 20px 20px;
  color: var(--mid-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card * a {
  color: #324e8a;
}

.service-card * a {
  color: #324e8a;
  text-decoration: none;
}

.service-card * a:hover,
.service-card * a:focus-visible {
  color: #3157a8;
  text-decoration: underline;
}



/* ABOUT */
#about {
  padding: 90px 0;
  background: var(--section-bg);
}

#about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

#about-image img {
  width: 300px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#about-content {
  background: white;
  padding: 0px;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 8px;
}

#about-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

#about-content p {
  color: var(--mid-light);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
}

#about-content p:not(:last-child) strong {
  font-weight: 600;
  color: var(--text);
}

/* CONTACT */
#contact {
  padding: 90px 0;
  background: var(--section-bg);
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 50px;
}

#contact h3 {
  font-size: 1.5rem;
  color: var(--mid-light);
  margin-bottom: 20px;
}

#contact-me {
  display: grid;
  grid-template-columns: 4fr 1fr;
  align-items: center;
  gap: 4px;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
  scroll-margin-top: 6rem;
}

#msg-services * img, #msg-services img{
  width: 150px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 5px;
}

#msg-services a{
  color: #128c7e;
  font-weight: 600;
  text-decoration: none;
}

#msg-services a:hover,
#msg-services a:focus-visible {
  color: #075e54;
  text-decoration: underline;
}

#msg-services .signal-link {
  display: inline-block;
  color: #3845ff;
}

#msg-services .signal-link:hover,
#msg-services .signal-link:focus-visible {
  color: #2430c9;
  text-decoration: underline;
}

.signal-font {
  font-weight: 600;
  color: #3845FF;
  margin-top: 0px;
}

#pricing {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4px;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
  text-align: justify;
}

#pricing-table-container {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: white;
  margin-top: 10px;
  box-shadow: var(--shadow);
}

#pricing-table-container table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: white;
  text-align: left;
}

#pricing-table-container thead th {
  background: linear-gradient(135deg, #435274, #657792);
  color: white;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 18px;
}

#pricing-table-container tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}

#pricing-table-container tbody tr:nth-child(even) {
  background: #f8fafc;
}

#pricing-table-container tbody tr:hover {
  background: #eef6ff;
}

#pricing-table-container tbody tr:last-child td {
  border-bottom: none;
}

#pricing-table-container td strong {
  color: var(--primary);
}

#pricing-table-container td small {
  color: var(--text-light);
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 10px;
}

#contact-instruction ul{
  margin: 15px;
  margin-left: 2em;
}

#contact-map img{
  width: 150px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 5px;
  margin-bottom: 8px;
}

.text-align-right {
  text-align: right;
}

.text-align-left {
  text-align: left;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #header-content {
    flex-direction: column;
    gap: 15px;
  }

  #nav {
    flex-direction: column;
    gap: 15px;
  }

  #nav-menu {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  #hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #hero-left {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #hero-right {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #hero-right h1 {
    font-size: 2.2rem;
  }

  #hero-right p {
    font-size: 1rem;
  }

  #hero {
    padding: 60px 0;
  }

  #services,
  #about,
  #contact {
    padding: 60px 0;
  }

  .service-card img {
    height: 200px;
  }

  #services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card:nth-child(4) {
    grid-column: auto;
  }

  #services h2,
  .about-content h2,
  .contact h2 {
    font-size: 2rem;
  }

  #about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  #contact-me {
  grid-template-columns: 1fr;
  gap: 20px;
  scroll-margin-top: 21rem;
  }
}