/*
Theme Name: Ce Mot Translation Services
Theme URI: https://cemot.pe
Description: Tema WordPress de Ce Mot Translation Services - replica de la distribucion del sitio original (logo naranja, hero con ilustracion, SOBRE NOSOTROS naranja, servicios, IDIOMAS morado, footer 4 columnas). HTML/CSS limpio, sin dependencias externas.
Author: Ce Mot
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cemot
Tags: one-column, custom-logo, translation-ready
*/

/* ===== Base ===== */
:root {
  --purple: #6D207C;
  --orange: #FF7B00;
  --yellow: #FFF86B;
  --black: #000000;
  --white: #FFFFFF;
  --gray: #6E6E6E;
  --border: #E8E6E6;
  --green: #10C379;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 6px; background: var(--orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 11px; line-height: 1.1; letter-spacing: 0.02em;
}
.brand-text .bt1 { font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-text .bt2 { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.02em; }
.main-nav ul { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.main-nav a { font-size: 0.95rem; color: var(--black); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--purple); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--black); font-size: 1.3rem; border-radius: 8px; padding: 0.3rem 0.7rem; cursor: pointer; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.8rem 2rem; border-radius: 7px; font-family: var(--font);
  font-weight: 600; font-size: 16px; color: var(--white); background: var(--purple);
  border: none; cursor: pointer; transition: all 0.2s ease; line-height: 1.2;
}
.btn:hover { border-radius: 20px; transform: translateY(-1px); }
.btn .arrow { display: inline-flex; width: 14px; height: 14px; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateY(-3px) scale(1.2); }

/* ===== Hero (izquierda texto / derecha ilustracion) ===== */
.hero { padding: 4.5rem 0 4rem; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.08; margin-bottom: 1.2rem; }
.hero-sub { color: var(--gray); font-size: 16px; max-width: 480px; margin-bottom: 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 2rem; }
.badge { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 12px; font-weight: 500; color: var(--black); }
.badge::before { content: "\2713"; color: var(--green); font-weight: 700; }
.hero-img { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12); }

/* ===== Secciones ===== */
.section { padding: 4.5rem 0; }
.section-orange { background: var(--orange); color: var(--white); }
.section-purple { background: var(--purple); color: var(--white); }
.section-head { text-align: center; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; }
.section-head p { margin-top: 1rem; color: var(--gray); max-width: 720px; margin-left: auto; margin-right: auto; }
.section-orange .section-head p { color: rgba(255,255,255,0.95); }
.section-purple .section-head p { color: rgba(255,255,255,0.92); }

/* SOBRE NOSOTROS - cuadro naranja izquierda + texto negro derecha */
.nosotros-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: stretch; }
.nosotros-box { background: var(--orange); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 3.5rem 2rem; }
.nosotros-box h2 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; text-align: center; line-height: 1.1; }
.nosotros-content { background: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 2rem 2.5rem; }
.nosotros-content p { color: var(--black); font-size: 16px; margin-bottom: 1rem; }
.nosotros-content p:last-child { margin-bottom: 0; }

/* Servicios - tarjetas */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(109,32,124,0.14); }
.service-card .img-wrap { aspect-ratio: 1/1; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.service-card:hover .img-wrap img { transform: scale(1.04); }
.service-card .body { padding: 1.4rem; }
.service-card h3 { font-size: 22px; font-weight: 700; line-height: 1em; margin-bottom: 1rem; }
.service-card .btn { padding: 0.6rem 1.4rem; font-size: 14px; }

/* Idiomas - banda morada */
#idiomas .languages { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
#idiomas .section-head { text-align: left; margin-bottom: 1.2rem; }
#idiomas .section-head h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.languages img { border-radius: 16px; }
.lang-list { list-style: none; margin-top: 1.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.lang-list li { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); border-radius: 10px; padding: 0.65rem 1rem; font-size: 0.92rem; }

/* Por que elegirnos - titulo derecha */
#porque-nosotros .section-head { text-align: right; margin-bottom: 2rem; }
#porque-nosotros .section-head h2 { font-size: clamp(2.4rem, 7vw, 4.7rem); }
#porque-nosotros .why-text { text-align: right; max-width: 780px; margin-left: auto; color: var(--gray); font-size: 16px; }

/* Queremos verte crecer */
.cta-banner { text-align: center; padding: 5rem 0; background: var(--white); }
.cta-banner h2 { font-size: clamp(2.4rem, 7vw, 4.7rem); font-weight: 700; margin-bottom: 1.6rem; }


.cta-img { margin: 2.2rem auto 0; max-width: 720px; border-radius: 14px; }

.custom-logo-link img { height: 52px; width: auto; border-radius: 6px; }
.footer-copy { text-align: center; padding: 1rem 0 0; font-size: 0.85rem; color: var(--gray); }
/* ===== Footer 4 columnas + linea morada ===== */
.site-footer { background: var(--white); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3rem 0; }
.footer-col { text-align: center; }
.footer-col .ficon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; margin-bottom: 0.4rem; }
.footer-col p, .footer-col a { font-size: 0.98rem; color: var(--black); font-weight: 500; }
.footer-col a:hover { color: var(--purple); }
.footer-social { display: flex; justify-content: center; gap: 0.7rem; margin-top: 0.4rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--black); display: flex; align-items: center; justify-content: center; }
.footer-social img { width: 18px; height: 18px; border-radius: 50%; background: var(--white); object-fit: contain; }
.footer-purple { height: 5px; background: var(--footerline, var(--purple)); }


/* ===== Pagina servicios ===== */
.page-hero { padding: 4.5rem 0 3.5rem; text-align: center; background: var(--orange); color: var(--white); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
.page-hero p { max-width: 640px; margin: 1.2rem auto 0; }
.service-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; padding: 3.2rem 0; border-bottom: 1px solid var(--border); }
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse .detail-img { order: 2; }
.service-detail .detail-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.service-detail h2 { font-size: 38px; font-weight: 700; line-height: 1em; margin-bottom: 1rem; }
.service-detail .intro { color: var(--gray); margin-bottom: 1.2rem; }
.service-detail h3 { font-size: 16px; font-weight: 700; margin: 1.2rem 0 0.6rem; }
.service-detail ul { list-style: none; display: grid; gap: 0.5rem; }
.service-detail ul li { padding-left: 1.4rem; position: relative; font-size: 16px; }
.service-detail ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.service-detail .btn { margin-top: 1.4rem; }
.note { margin-top: 1rem; padding: 0.9rem 1.1rem; border-left: 3px solid var(--orange); background: rgba(255,123,0,0.08); border-radius: 0 10px 10px 0; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .languages, .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .detail-img { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 4%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nosotros-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats, .lang-list, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
}
